* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #2d2d2d;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

header {
    background: #2d2d2d;
    padding: 5px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

h1 {
    font-size: 5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e67e22;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    font-weight: bold;
    line-height: 1;
}

.logo-container {
    display: flex;
    align-items: center;
}

.hotel-logo {
    height: 80px;
    width: auto;
    padding: 5px;
    background: transparent;
    border: none;
}

.content {
    padding: 10px 20px;
    background: #2d2d2d;
}

#specialsContainer {
    margin-top: 10px;
}

.announcement {
    font-size: 1.6rem;
    color: #f39c12;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 8px 15px;
    background: rgba(230, 126, 34, 0.1);
    border-left: 4px solid #e67e22;
    border-right: 4px solid #e67e22;
    text-align: center;
}

.specials-section {
    margin-bottom: 15px;
}

.special-item,
.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: background 0.3s;
}

.special-item:hover,
.option-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- unified layout for name + description --- */
.item-left {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 10px;          /* visible space between name + description */
    flex: 1;
}

.item-name,
.option-name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    margin-right: 10px; /* fallback spacing for Safari */
}

.item-description,
.option-description {
    font-size: 0.9rem;
    color: #cccccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
}

.item-price,
.option-price {
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 2px;
}

.item-note,
.option-note {
    font-size: 0.9rem;
    color: #f39c12;
    margin-top: 2px;
}

.additional-section {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* --- Safari/iPad gap fallback --- */
@supports (-webkit-touch-callout: none) {
    .item-left {
        gap: 0 !important;
    }
    .item-name,
    .option-name {
        margin-right: 10px !important;
    }
}

/* --- Admin panel styles --- */
.admin-panel {
    background: #2d2d2d;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.admin-panel h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffeb3b;
    font-size: 1.8rem;
}

.admin-panel h3 {
    margin: 25px 0 15px;
    color: #e67e22;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #555;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

textarea {
    min-height: 60px;
    resize: vertical;
}

button {
    background: linear-gradient(to right, #e67e22, #d35400);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background: linear-gradient(to right, #d35400, #e67e22);
    transform: scale(1.02);
}

/* --- Responsive adjustments --- */
@media (min-width: 768px) and (orientation: landscape) {
    h1 { font-size: 6rem; }
    .hotel-logo { height: 100px; }
    .item-name, .item-price, .option-name, .option-price { font-size: 1.4rem; }
    .item-description, .option-description { font-size: 1rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 4rem; }
    .hotel-logo { height: 60px; }
    .item-name, .item-price, .option-name, .option-price { font-size: 1.1rem; }
    .item-description, .option-description { font-size: 0.8rem; }
}

.error {
    color: #ff5252;
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
}
/* Force name + description side-by-side */
.item-left {
    display: block; /* go back to normal flow */
}

.item-name,
.option-name,
.item-description,
.option-description {
    display: inline;
    white-space: nowrap;
}

.item-description,
.option-description {
    margin-left: 0.5em; /* space between */
    color: #ccc;
}
/* Button color updates for admin panel */
.delete-btn {
    background: linear-gradient(to right, #e74c3c, #c0392b);
    width: auto;
    padding: 8px 15px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.add-btn {
    background: linear-gradient(to right, #3498db, #2980b9);
    margin-bottom: 20px;
}

.save-btn {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 15px 25px;
}
