/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f4d03f 0%, #f39c12 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.header {
    margin-bottom: 2rem;
}

.header h1 {
    color: #2c3e50;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.header p {
    color: #666;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
}

.user-info {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.user-info span {
    color: #fff;
    font-weight: 500;
}

.logout-link {
    color: #fff;
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.logout-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Form Styles */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
}

.form-group input {
    width: 100%;
    padding: clamp(0.8rem, 3vw, 1rem);
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: clamp(1rem, 4vw, 1.2rem);
    text-align: center;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

/* Button Styles */
.btn {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border: none;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1.5rem, 5vw, 2rem);
    border-radius: 10px;
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.3);
}

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

.btn-secondary {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.btn-secondary:hover {
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.btn-search {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.btn-search:hover {
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
}

/* Message Styles */
.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: clamp(0.8rem, 3vw, 1rem);
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Navigation Links */
.nav-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 3vw, 1rem);
}

.nav-link:hover {
    background-color: #f8f9fa;
}

/* Order Info */
.order-info {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    color: #666;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: clamp(1rem, 4vw, 2rem);
    border-radius: 20px;
    width: 100%;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.modal-header h2 {
    color: #2c3e50;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
}

.close {
    color: #aaa;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #2c3e50;
}

/* Search Section */
.search-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.search-input {
    width: 100%;
    padding: clamp(0.8rem, 3vw, 1rem);
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: clamp(0.6rem, 2.5vw, 0.8rem) clamp(1rem, 4vw, 1.5rem);
    border-radius: 8px;
    font-size: clamp(0.8rem, 3vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(243, 156, 18, 0.3);
}

/* Orders Container */
.orders-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

/* Waiter Orders Container */
.waiter-orders-container {
    display: block;
    margin-bottom: 1rem;
}

/* Waiter Order Numbers - Much Smaller */
.waiter-order-number {
    font-weight: 600;
    font-size: clamp(0.6rem, 2vw, 0.9rem);
    color: #2c3e50;
}

.orders-section {
    border-radius: 10px;
    padding: 1.5rem;
    background-color: transparent !important;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.section-header h3 {
    color: #2c3e50;
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
}

/* Orders Table */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
}

.orders-table th {
    background-color: white;
    padding: clamp(0.6rem, 2vw, 0.8rem);
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
}

.orders-table td {
    padding: clamp(0.6rem, 2vw, 0.8rem);
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.order-number {
    font-weight: 700;
    font-size: clamp(0.5rem, 2vw, 0.8rem);
    color: #2c3e50;
}

.time-ready {
    font-weight: 600;
    color: #e67e22;
}

/* Action Buttons */
.ready-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: clamp(0.4rem, 2vw, 0.5rem) clamp(0.6rem, 2.5vw, 0.8rem);
    border-radius: 6px;
    font-size: clamp(0.6rem, 2.5vw, 0.8rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ready-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(39, 174, 96, 0.3);
}

.received-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: clamp(0.4rem, 2vw, 0.5rem) clamp(0.6rem, 2.5vw, 0.8rem);
    border-radius: 6px;
    font-size: clamp(0.6rem, 2.5vw, 0.8rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.received-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(231, 76, 60, 0.3);
}

/* No Orders State */
.no-orders {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: clamp(0.8rem, 3vw, 1rem);
}

.no-orders .icon {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Modal Footer */
.modal-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #666;
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
}

/* Search Results */
.search-results {
    margin-top: 1rem;
}

.search-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
}

.search-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.search-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.search-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Customer Page Specific Styles */
.customer-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f4d03f 0%, #f39c12 100%);
    min-height: 100vh;
    padding: clamp(1rem, 3vw, 2rem);
    margin: 0;
    display: block;
}

.customer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.customer-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    color: white;
}

.customer-header h1 {
    font-size: clamp(3rem, 12vw, 6rem);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.customer-header p {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    opacity: 0.9;
}



.status-indicator {
    display: inline-block;
    width: clamp(12px, 3vw, 20px);
    height: clamp(12px, 3vw, 20px);
    background-color: #e67e22;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }
}

.refresh-info {
    text-align: center;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 3vw, 1.5rem);
}

.instructions {
    background: rgba(255, 255, 255, 0.1);
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: 10px;
    margin-top: 1rem;
    color: white;
    font-size: clamp(1rem, 3vw, 1.5rem);
}

/* Order Notification */
#orderNotification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: clamp(3rem, 8vw, 6rem);
    border-radius: clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    visibility: hidden;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: bold;
}

#notificationOrderNumber {
    font-size: clamp(3rem, 10vw, 5rem);
    margin: 1.5rem 0;
    color: #2c3e50;
}

#sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: sparkle 1.5s ease-out forwards;
}

/* Animations */
@keyframes orderNotification {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@keyframes chickenDance {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(8deg); }
    50% { transform: translateY(-8px) rotate(-8deg); }
    75% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes sparkle {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

@keyframes fadeOut {
    from { 
        opacity: 1; 
        transform: translateX(0); 
    }
    to { 
        opacity: 0; 
        transform: translateX(-20px); 
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .orders-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 3rem;
    }
    
    .modal-content {
        max-width: 800px;
        margin: 5% auto;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 500px;
    }
    
    .modal-content {
        max-width: 900px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.5rem;
    }
    
    .container {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .modal-content {
        margin: 1% auto;
        padding: 1rem;
        border-radius: 15px;
    }
    
    .orders-table {
        font-size: 0.7rem;
    }
    
    .order-number {
        font-size: 0.9rem;
    }
    
    .ready-btn, .received-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.6rem;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .modal-content {
        max-height: 85vh;
        margin: 1% auto;
    }
    
    .orders-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}



/* TV Screen Optimization */
@media (min-width: 1920px) {
    .customer-header h1 {
        font-size: 15rem;
    }
    
    .customer-header p {
        font-size: 6rem;
    }
    
    .customer-orders-header h2 {
        font-size: 10rem;
    }
    
    .customer-orders-header p {
        font-size: 5rem;
    }
    
    .customer-orders-table th {
        font-size: 6rem;
        padding: 6rem 3rem;
    }
    
    .customer-orders-table td {
        font-size: 7rem;
        padding: 6rem 3rem;
    }
    
    .customer-order-number {
        font-size: 12rem;
    }
    
    .customer-time-ready {
        font-size: 10rem;
    }
    
    .customer-no-orders {
        font-size: 6rem;
        padding: 12rem;
    }
    
    .customer-no-orders .icon {
        font-size: 20rem;
    }
    
    .customer-nav-link {
        font-size: 4rem;
        padding: 3rem 5rem;
    }
    
    .refresh-info {
        font-size: 4rem;
    }
    
    .instructions {
        font-size: 4rem;
        padding: 4rem;
    }
}

/* Extra Large TV Screens (4K and above) */
@media (min-width: 2560px) {
    .customer-header h1 {
        font-size: 20rem;
    }
    
    .customer-header p {
        font-size: 8rem;
    }
    
    .customer-orders-header h2 {
        font-size: 14rem;
    }
    
    .customer-orders-header p {
        font-size: 7rem;
    }
    
    .customer-orders-table th {
        font-size: 8rem;
        padding: 8rem 4rem;
    }
    
    .customer-orders-table td {
        font-size: 9rem;
        padding: 8rem 4rem;
    }
    
    .customer-order-number {
        font-size: 16rem;
    }
    
    .customer-time-ready {
        font-size: 14rem;
    }
    
    .customer-no-orders {
        font-size: 8rem;
        padding: 16rem;
    }
    
    .customer-no-orders .icon {
        font-size: 25rem;
    }
    
    .customer-nav-link {
        font-size: 5rem;
        padding: 4rem 6rem;
    }
    
    .refresh-info {
        font-size: 5rem;
    }
    
    .instructions {
        font-size: 5rem;
        padding: 5rem;
    }
}

/* Ultra Wide TV Screens */
@media (min-width: 3840px) {
    .customer-header h1 {
        font-size: 25rem;
    }
    
    .customer-header p {
        font-size: 10rem;
    }
    
    .customer-orders-header h2 {
        font-size: 18rem;
    }
    
    .customer-orders-header p {
        font-size: 9rem;
    }
    
    .customer-orders-table th {
        font-size: 10rem;
        padding: 10rem 5rem;
    }
    
    .customer-orders-table td {
        font-size: 11rem;
        padding: 10rem 5rem;
    }
    
    .customer-order-number {
        font-size: 20rem;
    }
    
    .customer-time-ready {
        font-size: 18rem;
    }
    
    .customer-no-orders {
        font-size: 10rem;
        padding: 20rem;
    }
    
    .customer-no-orders .icon {
        font-size: 30rem;
    }
    
    .customer-nav-link {
        font-size: 6rem;
        padding: 5rem 7rem;
    }
    
    .refresh-info {
        font-size: 6rem;
    }
    
    .instructions {
        font-size: 6rem;
        padding: 6rem;
    }
} 

/* Customer Page Specific Styles - TV Optimized */
.customer-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f4d03f 0%, #f39c12 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
}

.customer-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.customer-orders-container {
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.customer-orders-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: clamp(0.5rem, 2vw, 1rem);
    text-align: center;
    flex-shrink: 0;
}

.customer-orders-header h2 {
    font-size: clamp(1rem, 4vw, 2rem);
    margin-bottom: 0;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.customer-orders-table {
    width: 100%;
    border-collapse: collapse;
    flex-grow: 1;
    height: calc(100vh - clamp(0.5rem, 2vw, 1rem) * 2);
}

.customer-orders-table th {
    background-color: #f8f9fa;
    padding: clamp(0.3rem, 1.5vw, 0.8rem) clamp(0.2rem, 1vw, 0.5rem);
    text-align: center;
    font-weight: 800;
    font-size: clamp(0.8rem, 3vw, 1.5rem);
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.customer-orders-table td {
    padding: clamp(0.3rem, 1.5vw, 0.8rem) clamp(0.2rem, 1vw, 0.5rem);
    text-align: center;
    font-size: clamp(0.9rem, 3.5vw, 1.8rem);
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.customer-order-number {
    font-weight: 900;
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.customer-time-ready {
    font-weight: 800;
    color: #e67e22;
    font-size: clamp(0.9rem, 3.5vw, 1.8rem);
    text-shadow: 1px 1px 2px rgba(230, 126, 34, 0.3);
    letter-spacing: 0.5px;
}

.customer-no-orders {
    padding: clamp(1rem, 4vw, 2rem);
    text-align: center;
    color: #666;
    font-size: clamp(0.8rem, 3vw, 1.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    height: calc(100vh - clamp(0.5rem, 2vw, 1rem) * 2);
}

.customer-no-orders .icon {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.customer-no-orders p {
    font-weight: 600;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* TV Screen Optimization - Restaurant Display */
@media (min-width: 1920px) {
    .customer-orders-header h2 {
        font-size: 3rem;
    }
    
    .customer-orders-table th {
        font-size: 2.5rem;
        padding: 1rem 0.5rem;
    }
    
    .customer-orders-table td {
        font-size: 3rem;
        padding: 1rem 0.5rem;
    }
    
    .customer-order-number {
        font-size: 4rem;
    }
    
    .customer-time-ready {
        font-size: 3rem;
    }
    
    .customer-no-orders {
        font-size: 2.5rem;
        padding: 3rem;
    }
    
    .customer-no-orders .icon {
        font-size: 8rem;
    }
}

/* Extra Large TV Screens (4K and above) */
@media (min-width: 2560px) {
    .customer-orders-header h2 {
        font-size: 4rem;
    }
    
    .customer-orders-table th {
        font-size: 3rem;
        padding: 1.5rem 0.8rem;
    }
    
    .customer-orders-table td {
        font-size: 3.5rem;
        padding: 1.5rem 0.8rem;
    }
    
    .customer-order-number {
        font-size: 5rem;
    }
    
    .customer-time-ready {
        font-size: 4rem;
    }
    
    .customer-no-orders {
        font-size: 3rem;
        padding: 4rem;
    }
    
    .customer-no-orders .icon {
        font-size: 10rem;
    }
}

/* Ultra Wide TV Screens */
@media (min-width: 3840px) {
    .customer-orders-header h2 {
        font-size: 5rem;
    }
    
    .customer-orders-table th {
        font-size: 4rem;
        padding: 2rem 1rem;
    }
    
    .customer-orders-table td {
        font-size: 4.5rem;
        padding: 2rem 1rem;
    }
    
    .customer-order-number {
        font-size: 6rem;
    }
    
    .customer-time-ready {
        font-size: 5rem;
    }
    
    .customer-no-orders {
        font-size: 4rem;
        padding: 5rem;
    }
    
    .customer-no-orders .icon {
        font-size: 12rem;
    }
} 

/* ===== CUSTOMER DISPLAY - NEW DESIGN ===== */

.customer-display {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8b01b;
    min-height: 100vh;
    overflow: hidden;
}

.customer-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

.customer-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

.header-section {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
}

.logo-section {
    flex: 0 0 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: #f8b01b;
    width: 100%;
}

.text-section {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(0.5rem, 2vw, 1rem);
    background: #275d7b;
    width: 100%;
}

.orders-section {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: clamp(0.5rem, 2vw, 1rem);
    padding-top: 0;
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
    background: #2c3e50;
    overflow: visible;
}

.customer-header {
    background: transparent;
    color: #f4d03f;
    padding: clamp(0.02rem, 0.1vw, 0.1rem);
    text-align: center;
    flex-shrink: 0;
    box-shadow: none;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.kucu-logo {
    max-width: clamp(700px, 95vw, 1200px);
    max-height: clamp(140px, 28vw, 280px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.text-section h1 {
    margin: 0;
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    line-height: 1.1;
    text-align: center;
}

.customer-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.orders-list {
    display: none;
    flex-direction: column;
    gap: clamp(0.5rem, 2vw, 1rem);
    overflow-y: auto;
    flex: 1;
}

.orders-container {
    display: none;
    grid: 1;
    padding: clamp(0.5rem, 2vw, 1rem);
    overflow: visible;
    gap: clamp(0.2rem, 1vw, 0.5rem);
    height: auto;
    width: 100%;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(clamp(80px, 12vw, 150px), auto);
    justify-items: center;
    align-items: start;
    margin-top: clamp(1rem, 3vw, 2rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.orders-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(0.1rem, 0.5vw, 0.3rem);
    overflow: hidden;
    padding: clamp(0.1rem, 0.5vw, 0.3rem);
    justify-content: space-between;
}

.orders-divider {
    width: clamp(2px, 0.5vw, 4px);
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(44, 62, 80, 0.3);
    margin: clamp(0.2rem, 1vw, 0.5rem) 0;
}



.order-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: clamp(0.6rem, 2.5vw, 1.2rem);
    padding: clamp(0.4rem, 2vw, 1rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: clamp(100px, 16vw, 180px);
    width: clamp(120px, 18vw, 200px);
    min-height: clamp(100px, 16vw, 180px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    height: clamp(120px, 18vw, 200px);
    width: clamp(140px, 20vw, 240px);
    min-height: clamp(120px, 18vw, 200px);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}


.order-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
    border-radius: clamp(0.3rem, 1.5vw, 0.8rem);
}

.order-item:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 1);
}

/* Remove glass effects for old orders (10+ minutes) */
.orders-section-old .order-item {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 50%, #e8f5e8 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #90caf9;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}



.orders-section-old .order-item::before {
    display: none;
}

.orders-section-old .order-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #42a5f5;
    background: linear-gradient(135deg, #bbdefb 0%, #e1bee7 50%, #c8e6c9 100%);
}

/* Modern freezing effects for old orders */
.orders-section-old .order-item::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -8px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.9), rgba(255, 255, 255, 1));
    border-radius: 50% 0 50% 50%;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.6), 0 0 20px rgba(135, 206, 235, 0.3);
    animation: iceCrystal 2s ease-in-out infinite;
    z-index: 10;
}

/* Snow dropping animation */
@keyframes snowfall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Ice crystal animation */
@keyframes iceCrystal {
    0% {
        transform: rotate(45deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: rotate(45deg) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: rotate(45deg) scale(1.1);
        opacity: 0.9;
    }
    75% {
        transform: rotate(45deg) scale(1.3);
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) scale(1);
        opacity: 0.7;
    }
}

/* Frost overlay for old orders */
.orders-section-old .order-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
    border-radius: clamp(0.3rem, 1.5vw, 0.8rem);
    animation: frostBreath 3s ease-in-out infinite;
}

@keyframes frostBreath {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }
    25% {
        opacity: 0.5;
        transform: scale(1.02);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
    75% {
        opacity: 0.5;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.2;
        transform: scale(1);
    }
}





.order-number {
    font-size: clamp(10rem, 20vw, 18rem);
    font-weight: 950;
    color: #275d7b;
    text-shadow: 5px 5px 10px rgba(39, 93, 123, 0.6);
    margin-bottom: clamp(0.05rem, 0.3vw, 0.2rem);
    margin-top: clamp(1rem, 2vw, 2rem);
    line-height: 1;
    height: clamp(8rem, 15vw, 12rem);
    width: clamp(8rem, 16vw, 14rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-time {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #275d7b;
    text-shadow: 1px 1px 2px rgba(39, 93, 123, 0.2);
    line-height: 1;
}



.no-orders-message {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
    color: #666;
}

.no-orders-icon {
    font-size: clamp(4rem, 15vw, 8rem);
    margin-bottom: clamp(1rem, 3vw, 2rem);
    opacity: 0.6;
}

.no-orders-message p {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Order Notification */
.order-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: clamp(2rem, 6vw, 4rem);
    border-radius: clamp(1rem, 3vw, 2rem);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 2000;
    visibility: hidden;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-content {
    position: relative;
}

.notification-chicken {
    font-size: clamp(3rem, 10vw, 6rem);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    animation: chickenDance 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    border-radius: 50%;
    padding: clamp(0.5rem, 2vw, 1rem);
    box-shadow: 
        0 8px 32px rgba(255, 215, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.notification-chicken::before {
    content: '🍗';
    position: absolute;
    top: -15px;
    right: -20px;
    font-size: clamp(1.8rem, 5vw, 3rem);
    animation: foodGlow 1.5s ease-in-out infinite;
    filter: drop-shadow(0 3px 6px rgba(255, 165, 0, 0.8));
    z-index: 2;
}

.notification-chicken::after {
    content: '✨';
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: clamp(1.2rem, 4vw, 2rem);
    animation: sparkleRotate 2s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.9));
    z-index: 2;
}

.notification-number {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin: clamp(0.5rem, 2vw, 1rem) 0;
    color: #2c3e50;
    font-weight: 900;
    animation: numberGlow 1.5s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(44, 62, 80, 0.5);
}

.notification-text {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-top: clamp(0.5rem, 2vw, 1rem);
    color: #2c3e50;
    animation: textPulse 2s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(44, 62, 80, 0.3);
}

.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #fff, #f39c12, #fff);
    border-radius: 50%;
    animation: sparkle 2s ease-out forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes orderNotification {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.3) rotate(-10deg); 
        filter: blur(10px);
    }
    15% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.2) rotate(5deg); 
        filter: blur(0px);
    }
    30% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.05) rotate(-2deg); 
        filter: blur(0px);
    }
    70% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
        filter: blur(0px);
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.8) rotate(5deg); 
        filter: blur(5px);
    }
}

@keyframes chickenDance {
    0% { 
        transform: rotate(0deg) scale(1); 
        box-shadow: 
            0 8px 32px rgba(255, 215, 0, 0.4),
            inset 0 2px 4px rgba(255, 255, 255, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    }
    25% { 
        transform: rotate(-8deg) scale(1.05); 
        box-shadow: 
            0 12px 40px rgba(255, 215, 0, 0.6),
            inset 0 2px 4px rgba(255, 255, 255, 0.4),
            inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    }
    50% { 
        transform: rotate(0deg) scale(1.1); 
        box-shadow: 
            0 16px 48px rgba(255, 215, 0, 0.8),
            inset 0 3px 6px rgba(255, 255, 255, 0.5),
            inset 0 -3px 6px rgba(0, 0, 0, 0.2);
    }
    75% { 
        transform: rotate(8deg) scale(1.05); 
        box-shadow: 
            0 12px 40px rgba(255, 215, 0, 0.6),
            inset 0 2px 4px rgba(255, 255, 255, 0.4),
            inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    }
    100% { 
        transform: rotate(0deg) scale(1); 
        box-shadow: 
            0 8px 32px rgba(255, 215, 0, 0.4),
            inset 0 2px 4px rgba(255, 255, 255, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    }
}

@keyframes foodGlow {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 3px 6px rgba(255, 165, 0, 0.8));
    }
    50% { 
        transform: scale(1.2) rotate(5deg);
        filter: drop-shadow(0 5px 12px rgba(255, 165, 0, 1), 0 0 20px rgba(255, 165, 0, 0.6));
    }
}

@keyframes sparkleRotate {
    0% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: rotate(180deg) scale(0.9);
        opacity: 0.9;
    }
    75% { 
        transform: rotate(270deg) scale(1.1);
        opacity: 1;
    }
    100% { 
        transform: rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

@keyframes sparkle {
    0% { 
        opacity: 0; 
        transform: scale(0) rotate(0deg) translateY(0); 
    }
    20% { 
        opacity: 1; 
        transform: scale(1.2) rotate(72deg) translateY(-10px); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1) rotate(180deg) translateY(-20px); 
    }
    80% { 
        opacity: 0.8; 
        transform: scale(0.8) rotate(288deg) translateY(-30px); 
    }
    100% { 
        opacity: 0; 
        transform: scale(0) rotate(360deg) translateY(-40px); 
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes numberGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(44, 62, 80, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(44, 62, 80, 0.8), 0 0 30px rgba(44, 62, 80, 0.6);
        transform: scale(1.05);
    }
}

@keyframes textPulse {
    0%, 100% { 
        text-shadow: 0 2px 4px rgba(39, 93, 123, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 4px 8px rgba(39, 93, 123, 0.6), 0 0 15px rgba(39, 93, 123, 0.4);
        transform: scale(1.02);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (min-width: 1920px) {
    .header-section h1 {
        font-size: 4rem;
    }
    
    .kucu-logo {
        max-width: 800px;
        max-height: 150px;
    }
    
    .order-number {
        font-size: 10rem;
    }
    
    .order-time {
        font-size: 3rem;
    }
    
    .no-orders-message p {
        font-size: 3.5rem;
    }
    
    .no-orders-icon {
        font-size: 12rem;
    }
    
    .orders-divider {
        width: 6px;
        margin: 2rem 0;
    }
}

@media (min-width: 2560px) {
    .header-section h1 {
        font-size: 5rem;
    }
    
    .kucu-logo {
        max-width: 1000px;
        max-height: 200px;
    }
    
    .order-number {
        font-size: 15rem;
    }
    
    .order-time {
        font-size: 4rem;
    }
    
    .no-orders-message p {
        font-size: 4.5rem;
    }
    
    .no-orders-icon {
        font-size: 15rem;
    }
    
    .orders-divider {
        width: 8px;
        margin: 3rem 0;
    }
}

@media (min-width: 3840px) {
    .header-section h1 {
        font-size: 7rem;
    }
    
    .kucu-logo {
        max-width: 1200px;
        max-height: 250px;
    }
    
    .order-number {
        font-size: 24rem;
    }
    
    .order-time {
        font-size: 5rem;
    }
    
    .no-orders-message p {
        font-size: 6rem;
    }
    
    .no-orders-icon {
        font-size: 20rem;
    }
    
    .orders-divider {
        width: 10px;
        margin: 4rem 0;
    }
}

/* Portrait orientation (vertical) */
@media (orientation: portrait) {
    .customer-layout {
        flex-direction: column;
    }
    
    .header-section {
        flex: 0 0 25%;
    }
    
    .orders-section {
        flex: 0 0 75%;
    }
    
    .orders-container {
        grid-template-columns: repeat(7, 1fr);
        gap: clamp(0.05rem, 0.2vw, 0.15rem);
        padding: clamp(0.2rem, 1vw, 0.5rem);
    }
    
    .orders-divider {
        margin: clamp(0.05rem, 0.2vw, 0.15rem) 0;
    }
    
    .order-item {
        height: clamp(120px, 18vw, 200px);
        width: clamp(140px, 20vw, 220px);
        min-height: clamp(120px, 18vw, 200px);
    }
    
    .order-number {
        font-size: clamp(5rem, 10vw, 8rem);
    }
    
    .order-time {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }
}

/* Landscape orientation (horizontal) */
@media (orientation: landscape) {
    .orders-container {
        grid-template-columns: repeat(7, 1fr);
        gap: clamp(0.2rem, 1vw, 0.5rem);
        padding: clamp(0.5rem, 2vw, 1rem);
        margin-top: -2rem;
    }
    
    .order-item {
        height: clamp(150px, 22vw, 250px);
        width: clamp(160px, 24vw, 280px);
        min-height: clamp(150px, 22vw, 250px);
    }
    
    .order-number {
        font-size: clamp(6rem, 12vw, 10rem);
    }
    
    .order-time {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }
} 

