/* Custom styles for Face Paint Waitlist */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.navbar-brand {
    font-weight: bold;
    color: #e91e63 !important;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: #e91e63;
    border-color: #e91e63;
}

.btn-primary:hover {
    background-color: #c2185b;
    border-color: #c2185b;
}

.customer-card {
    transition: all 0.3s ease;
}

.customer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.status-waiting {
    color: #ff9800;
}

.status-notified {
    color: #2196f3;
}

.status-served {
    color: #4caf50;
}

.qr-code-container {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 20px;
}

.queue-position {
    font-size: 1.2em;
    font-weight: bold;
    color: #e91e63;
}

.estimated-time {
    color: #666;
    font-style: italic;
}

/* Debug styles to ensure CSS is loading */
.debug-css-loaded {
    border: 2px solid #28a745 !important;
}

/* Ensure Bootstrap icons are visible */
.bi {
    display: inline-block;
    vertical-align: middle;
}

/* Fix for modal issues */
.modal-backdrop {
    z-index: 1040;
}

.modal {
    z-index: 1050;
}

/* Ensure proper spacing */
.container-fluid {
    padding: 1rem;
}

/* Fix for button groups */
.btn-group .btn {
    margin-right: 2px;
}

/* Ensure proper card spacing */
.card-body {
    padding: 1.25rem;
}

/* Fix for alert positioning */
.alert {
    margin-bottom: 1rem;
}

/* Ensure proper form styling */
.form-control:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25);
}

/* Fix for table responsiveness */
.table-responsive {
    overflow-x: auto;
}

/* Ensure proper badge styling */
.badge {
    font-size: 0.75em;
}

/* Fix for spinner alignment */
.spinner-border {
    vertical-align: middle;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Larger touch targets for mobile */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    /* Better spacing for mobile */
    .container-fluid {
        padding: 0.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Larger form controls */
    .form-control, .form-select {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Stack buttons vertically on mobile */
    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-group .btn {
        width: 100%;
        margin: 0;
        border-radius: 0.375rem !important;
    }
    
    /* Full-width modals on mobile */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    /* Responsive QR code */
    .qr-code-container img {
        max-width: 200px;
        height: auto;
    }
    
    /* Better navbar on mobile */
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Stack customer cards vertically */
    .customer-card {
        margin-bottom: 1rem;
    }
    
    .customer-card .card-body {
        padding: 1rem;
    }
    
    /* Better action buttons layout */
    .customer-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .customer-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Responsive stats */
    .event-stats {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Better typography */
    .display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Hide less important elements on mobile */
    .d-none-mobile {
        display: none !important;
    }
    
    /* Better table layout */
    .table-responsive {
        font-size: 0.875rem;
    }
    
    /* Stack form groups */
    .form-group {
        margin-bottom: 1rem;
    }
    
    /* Better modal buttons */
    .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    /* Responsive queue items */
    .queue-item .card-body {
        padding: 1rem;
    }
    
    .queue-item .row {
        flex-direction: column;
    }
    
    .queue-item .col-md-3,
    .queue-item .col-md-2 {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Better badge layout */
    .badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Responsive navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Better card headers */
    .card-header {
        padding: 1rem;
    }
    
    .card-header h5 {
        font-size: 1.1rem;
        margin: 0;
    }
    
    /* Responsive buttons in cards - SHOW TEXT ON MOBILE */
    .card .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .card .btn-group .btn {
        width: 100%;
        font-size: 0.875rem;
        padding: 0.5rem;
    }
    
    /* Show text labels on mobile for action buttons */
    .queue-item .btn-group .btn span {
        display: inline !important;
    }
    
    .queue-item .btn-group .btn {
        justify-content: center;
        gap: 0.25rem;
    }
}

@media (max-width: 576px) {
    /* Even more compact layout */
    .container-fluid {
        padding: 0.25rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    /* Single column layout for stats */
    .row .col-md-3 {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Larger form labels */
    .form-label {
        font-size: 1rem;
        font-weight: 500;
    }
    
    /* Bigger buttons for very small screens */
    .btn-lg {
        min-height: 48px;
        font-size: 1.1rem;
    }
    
    /* Hide decorative elements */
    .text-muted {
        font-size: 0.875rem;
    }
    
    /* Better spacing for very small screens */
    .py-4 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    /* Responsive modals for very small screens */
    .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    /* Better queue layout for very small screens */
    .queue-item .btn-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.25rem;
    }
    
    .queue-item .btn-group .btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }
    
    /* Responsive text sizes */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    /* Help accordion mobile styles */
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .accordion-body {
        font-size: 0.875rem;
        padding: 1rem;
    }
    
    .accordion-body ul li {
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .accordion-body strong {
        color: #495057;
    }
} 