/* ========================================
   RESTAURANTE MENU - ESTILOS PRINCIPALES
   ======================================== */

/* Variables CSS */
:root {
    --primary-gold: #d4a84b;
    --primary-gold-light: #e8c574;
    --primary-gold-dark: #b8912e;
    --bg-black: #0a0a0a;
    --bg-dark: #121212;
    --bg-card: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --text-light-gray: #8a8a8a;
    --success-green: #25d366;
    --shadow-gold: rgba(212, 168, 75, 0.3);
    --gradient-gold: linear-gradient(135deg, #d4a84b 0%, #e8c574 50%, #d4a84b 100%);
    --gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    padding-bottom: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: var(--gradient-dark);
    padding: 20px 15px;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--primary-gold);
}

.header-content {
    display: block;
}

.restaurant-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 8px;
}

.restaurant-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-top: 5px;
    letter-spacing: 4px;
}

.order-counter {
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--gradient-gold);
    border-radius: 30px;
    display: inline-block;
}

.counter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-black);
    margin-right: 5px;
}

.counter-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-black);
    font-family: 'Courier New', monospace;
}

/* ========================================
   CONTACT BAR
   ======================================== */
.contact-bar {
    background: var(--bg-card);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(212, 168, 75, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 1rem;
}

.contact-item i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

/* ========================================
   MENU CONTAINER
   ======================================== */
.menu-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* ========================================
   MENU SECTION
   ======================================== */
.menu-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 0;
}

.ornament {
    width: 50px;
    height: 2px;
    background: var(--gradient-gold);
    position: relative;
}

.ornament::before {
    content: '✦';
    position: absolute;
    color: var(--primary-gold);
    font-size: 12px;
}

.ornament.left::before {
    right: -15px;
    top: -6px;
}

.ornament.right::before {
    left: -15px;
    top: -6px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    letter-spacing: 3px;
}

/* ========================================
   MENU ITEMS
   ======================================== */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    background: linear-gradient(145deg, #1f1f1f 0%, #141414 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-gold);
    border-color: var(--primary-gold-light);
}

.menu-item.selected {
    border-color: var(--success-green);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.item-content {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.item-info {
    flex: 1;
    padding-right: 15px;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.item-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
    padding: 8px 15px;
    background: var(--gradient-gold);
    border-radius: 25px;
    color: var(--bg-black);
}

.item-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .item-image img {
    transform: scale(1.05);
}

/* Item Actions */
.item-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(212, 168, 75, 0.1);
    border-top: 1px solid rgba(212, 168, 75, 0.3);
}

.btn-decrease,
.btn-increase {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-decrease:hover,
.btn-increase:hover {
    background: var(--primary-gold);
    color: var(--bg-black);
    transform: scale(1.1);
}

.btn-decrease:active,
.btn-increase:active {
    transform: scale(0.95);
}

.item-quantity {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    min-width: 50px;
    text-align: center;
}

/* ========================================
   REVIEW BAR (BARRA DE REVISAR PEDIDO)
   ======================================== */
.review-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-top: 3px solid var(--primary-gold);
    padding: 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.review-bar.active {
    transform: translateY(0);
}

.review-bar-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.review-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-label {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 600;
}

.review-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.review-btn {
    width: 100%;
    padding: 18px 25px;
    background: var(--gradient-gold);
    color: var(--bg-black);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.review-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-gold);
}

.review-btn:active {
    transform: scale(0.98);
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-dark);
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(212, 168, 75, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--gradient-gold);
    position: relative;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--bg-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-subtitle {
    font-size: 1rem;
    color: var(--bg-dark);
    margin-top: 8px;
    font-weight: 500;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--bg-black);
    border: none;
    color: var(--primary-gold);
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: #333;
}

.modal-body {
    padding: 20px;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(212, 168, 75, 0.2);
    background: rgba(26, 26, 26, 0.8);
    border-radius: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.order-item-info {
    flex: 1;
    min-width: 120px;
}

.order-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 3px;
}

.order-item-price-unit {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.order-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-qty-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    font-size: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-qty-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-black);
}

.order-qty-btn:active {
    transform: scale(0.9);
}

.order-item-qty {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    min-width: 30px;
    text-align: center;
}

.order-item-subtotal {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-gold);
    min-width: 90px;
    text-align: right;
}

.order-summary {
    background: rgba(212, 168, 75, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.summary-row.total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-gold);
    padding-top: 15px;
    border-top: 2px solid var(--primary-gold);
    margin-bottom: 0;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(212, 168, 75, 0.3);
}

/* Table Selection */
.table-selection {
    margin-bottom: 20px;
}

.table-selection h3 {
    font-size: 1.15rem;
    color: var(--text-white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-selection h3 i {
    color: var(--primary-gold);
}

.table-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.table-btn {
    padding: 15px 10px;
    background: var(--bg-card);
    border: 2px solid var(--primary-gold);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-btn:hover {
    background: rgba(212, 168, 75, 0.2);
}

.table-btn.selected {
    background: var(--gradient-gold);
    color: var(--bg-black);
}

/* Send Order Button */
.send-order-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.send-order-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.send-order-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-order-btn i {
    font-size: 1.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-dark);
    border-top: 3px solid var(--primary-gold);
    padding: 30px 20px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 100px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-handle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact-item {
    padding: 8px 0;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-links {
    margin-top: 20px;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--primary-gold);
    color: var(--bg-black);
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.admin-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px var(--shadow-gold);
    background: var(--primary-gold-light);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 480px) {
    html {
        font-size: 16px;
    }

    .header {
        padding: 15px 10px;
    }

    .header-logo {
        max-width: 280px;
    }

    .contact-bar {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .ornament {
        width: 30px;
    }

    .item-content {
        flex-direction: column;
        gap: 15px;
    }

    .item-price {
        align-self: flex-start;
    }

    .table-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .review-btn {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 20px;
    }

    .menu-container {
        padding: 30px 20px;
    }

    .menu-item {
        display: grid;
        grid-template-columns: 1fr 200px;
        grid-template-rows: auto auto;
    }

    .item-content {
        grid-column: 1;
        grid-row: 1;
    }

    .item-image {
        grid-column: 2;
        grid-row: 1 / 3;
        height: 100%;
        min-height: 200px;
    }

    .item-actions {
        grid-column: 1;
        grid-row: 2;
    }
}

/* ========================================
   SCROLLBAR PERSONALIZADO
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-light);
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.menu-item.added {
    animation: pulse 0.3s ease;
}

/* Empty Order State */
.empty-order {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
}

.empty-order i {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-order p {
    font-size: 1.2rem;
}

/* ========================================
   NAME INPUT SECTION
   ======================================== */
.name-input-section {
    margin-bottom: 25px;
}

.name-input-container {
    width: 100%;
}

.customer-name-input {
    width: 100%;
    padding: 20px 25px;
    font-size: 1.4rem;
    font-weight: 600;
    background: var(--bg-card);
    border: 3px solid var(--primary-gold);
    border-radius: 15px;
    color: var(--text-white);
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

.customer-name-input::placeholder {
    color: var(--text-gray);
    font-weight: 400;
}

.customer-name-input:focus {
    border-color: var(--primary-gold-light);
    box-shadow: 0 0 20px rgba(212, 168, 75, 0.4);
    background: #222;
}

/* ========================================
   SUCCESS MODAL
   ======================================== */
.success-modal {
    text-align: center;
    padding: 40px 30px;
    border: 3px solid var(--success-green);
}

.success-icon {
    font-size: 5rem;
    color: var(--success-green);
    margin-bottom: 25px;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.success-message {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 15px;
    font-weight: 600;
}

.success-submessage {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.success-thanks {
    font-size: 1.4rem;
    color: var(--success-green);
    font-weight: 700;
    margin-bottom: 30px;
}

.success-btn {
    width: 100%;
    padding: 18px 30px;
    background: var(--success-green);
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.success-btn:hover {
    background: #1fa855;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.success-btn i {
    font-size: 1.4rem;
}

/* ========================================
   WELCOME SCREEN (PANTALLA DE ENTRADA)
   ======================================== */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.welcome-content {
    text-align: center;
    padding: 40px 20px;
}

.welcome-logo {
    margin-bottom: 30px;
}

.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 2px 2px 8px rgba(212, 168, 75, 0.4);
    letter-spacing: 12px;
    margin-bottom: 10px;
}

.welcome-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-white);
    letter-spacing: 6px;
    font-weight: 400;
}

.welcome-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.ornament-line {
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
}

.ornament-diamond {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.enter-btn {
    padding: 18px 50px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50px;
    color: var(--bg-black);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 168, 75, 0.4);
}

.enter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 168, 75, 0.5);
}

.enter-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 3rem;
        letter-spacing: 8px;
    }
    
    .welcome-subtitle {
        font-size: 1.3rem;
        letter-spacing: 4px;
    }
    
    .enter-btn {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

/* ========================================
   NAME INPUT LABEL
   ======================================== */
.name-label {
    color: var(--primary-gold);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

/* ========================================
   SEARCH ORDER BUTTON (FLOTANTE)
   ======================================== */
.search-order-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 500;
    background: var(--bg-dark);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.search-order-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-black);
    transform: scale(1.05);
}

.search-order-btn i {
    font-size: 1rem;
}

@media (max-width: 480px) {
    .search-order-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
        top: 15px;
        right: 15px;
    }
    
    .search-order-btn span {
        display: none;
    }
    
    .search-order-btn i {
        font-size: 1.2rem;
    }
}

/* ========================================
   SEARCH MODAL
   ======================================== */
.search-modal {
    max-width: 500px;
}

.search-description {
    color: var(--text-gray);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

.search-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.1rem;
}

.search-input {
    width: 100%;
    padding: 18px 18px 18px 50px;
    background: var(--bg-card);
    border: 2px solid rgba(212, 168, 75, 0.3);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-light-gray);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 168, 75, 0.3);
}

.search-btn {
    width: 100%;
    padding: 16px 25px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 12px;
    color: var(--bg-black);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-gold);
}

/* Search Results */
.search-results {
    max-height: 350px;
    overflow-y: auto;
}

.search-results-title {
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 168, 75, 0.3);
}

.search-result-item {
    background: var(--bg-card);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    border-color: var(--primary-gold);
    transform: translateX(5px);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.result-order-number {
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 1rem;
}

.result-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.result-status.enviado {
    background: rgba(37, 211, 102, 0.2);
    color: var(--success-green);
}

.result-customer {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.result-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-date {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.result-total {
    color: var(--primary-gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
}

.no-results i {
    font-size: 3rem;
    color: var(--primary-gold);
    opacity: 0.5;
    margin-bottom: 15px;
    display: block;
}

.no-results p {
    font-size: 1rem;
}

/* ========================================
   ORDER DETAIL MODAL
   ======================================== */
.order-detail-modal {
    max-width: 450px;
}

.order-detail-header {
    background: rgba(212, 168, 75, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.detail-order-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.detail-customer-name {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.detail-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.detail-items-section {
    margin-bottom: 20px;
}

.detail-items-title {
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 168, 75, 0.3);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item-name {
    color: var(--text-white);
    font-size: 0.95rem;
}

.detail-item-qty {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-left: 5px;
}

.detail-item-price {
    color: var(--primary-gold);
    font-weight: 600;
}

.detail-total-section {
    background: var(--gradient-gold);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-total-label {
    color: var(--bg-black);
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-total-amount {
    color: var(--bg-black);
    font-size: 1.5rem;
    font-weight: 700;
}

.order-number-display {
    background: rgba(212, 168, 75, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}
