@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-bg: #1a1a2e;
    --card-bg: #16213e;
    --text-color: #f1f2f6;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f3460 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.booking-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.brand-title {
    font-weight: 700;
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.brand-subtitle {
    color: #a4b0be;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 205, 196, 0.25);
    color: white;
}

.form-label {
    font-weight: 600;
    color: #ced6e0;
    margin-bottom: 0.5rem;
}

.btn-book {
    background: linear-gradient(45deg, var(--primary-color), #ff4757);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-book:hover {
    background: linear-gradient(45deg, #ff4757, var(--primary-color));
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
}

.btn-excel {
    background: linear-gradient(45deg, #107c41, #1f9a55);
    border: none;
    border-radius: 10px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-excel:hover, .btn-excel:focus {
    background: linear-gradient(45deg, #1f9a55, #107c41);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(31, 154, 85, 0.4);
}

/* Token Result Area */
.token-result {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.token-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--secondary-color), #2bcbba);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 15px 30px rgba(78, 205, 196, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Admin Dashboard Specifics */
.admin-header {
    background: var(--card-bg);
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.queue-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.queue-card:hover {
    background: rgba(255,255,255,0.08);
}

.token-badge {
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    min-width: 60px;
    text-align: center;
}

.queue-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}
.queue-info p {
    margin: 0;
    color: #a4b0be;
    font-size: 0.9rem;
}

/* Modal Styling */
.modal-content {
    background: var(--card-bg);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}
.modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Type Toggle Styling */
.type-toggle .btn-check:checked + .btn-outline-light {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}
.type-toggle .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ced6e0;
}
.type-toggle .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Logo Styling Improvements */
.form-logo-img {
    width: 220px;
    max-width: 90%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}
.form-logo-img:hover {
    transform: scale(1.05);
}

.admin-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}
.admin-logo-img:hover {
    transform: scale(1.03);
}

.login-logo-img {
    width: 200px;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

/* PWA Install Banner */
.pwa-install-banner {
    background: linear-gradient(90deg, #16213e 0%, #0f3460 100%);
    border: 1px solid rgba(78, 205, 196, 0.4);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeIn 0.4s ease;
}
.pwa-install-banner .btn-install {
    background: linear-gradient(45deg, var(--secondary-color), #2bcbba);
    color: #1a1a2e;
    font-weight: 700;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.pwa-install-banner .btn-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

