:root {
    --primary: #0073FF;
    --primary-dark: #0056b3;
    --primary-light: rgba(0, 115, 255, 0.1);
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-hover: #2a2a2a;
    --text: #ffffff;
    --text-muted: #b3b3b3;
    --border: #333;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0,0,0,0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Enhanced Cinematic Loading Screen */
.login-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

/* Cinematic Background with Multiple Animation Layers */
.cinematic-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Floating Geometric Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border: 2px solid rgba(0, 115, 255, 0.3);
    border-radius: 8px;
    animation: floatShape 20s ease-in-out infinite;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    border-radius: 50%;
}

.shape-2 {
    top: 70%;
    left: 80%;
    width: 90px;
    height: 90px;
    animation-delay: 3s;
}

.shape-3 {
    top: 80%;
    left: 15%;
    width: 150px;
    height: 150px;
    animation-delay: 6s;
    border-radius: 50%;
}

.shape-4 {
    top: 20%;
    left: 85%;
    width: 100px;
    height: 100px;
    animation-delay: 9s;
}

.shape-5 {
    top: 60%;
    left: 5%;
    width: 130px;
    height: 130px;
    animation-delay: 12s;
}

.shape-6 {
    top: 30%;
    left: 70%;
    width: 80px;
    height: 80px;
    animation-delay: 15s;
    border-radius: 50%;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translate(20px, -15px) rotate(90deg) scale(1.1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-15px, 10px) rotate(180deg) scale(0.9);
        opacity: 0.15;
    }
    75% {
        transform: translate(10px, 20px) rotate(270deg) scale(1.05);
        opacity: 0.2;
    }
}

/* Particle Field */
.particle-field {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
    box-shadow: 0 0 15px var(--primary);
    opacity: 0;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px) scale(1.5);
        opacity: 0;
    }
}

/* Light Beams */
.light-beams {
    position: absolute;
    width: 100%;
    height: 100%;
}

.beam {
    position: absolute;
    width: 200%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 115, 255, 0.6) 50%, 
        transparent 100%);
    animation: beamSweep 15s linear infinite;
    opacity: 0.1;
    filter: blur(1px);
}

.beam-1 {
    top: 25%;
    animation-delay: 0s;
    transform: rotate(25deg);
}

.beam-2 {
    top: 50%;
    animation-delay: 5s;
    transform: rotate(-15deg);
}

.beam-3 {
    top: 75%;
    animation-delay: 10s;
    transform: rotate(10deg);
}

@keyframes beamSweep {
    0% {
        transform: rotate(25deg) translateX(-100%);
    }
    100% {
        transform: rotate(25deg) translateX(100%);
    }
}

/* Movie Elements */
.movie-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.popcorn {
    position: absolute;
    font-size: 2.5rem;
    animation: popcornFloat 12s ease-in-out infinite;
    opacity: 0.3;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.popcorn-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.popcorn-2 {
    top: 65%;
    left: 75%;
    animation-delay: 4s;
}

.popcorn-3 {
    top: 35%;
    left: 85%;
    animation-delay: 8s;
}

@keyframes popcornFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.2);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-40px) rotate(180deg) scale(1);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(0.8);
        opacity: 0.4;
    }
}

.film-roll {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2a2a2a, #1a1a1a);
    border-radius: 50%;
    border: 4px solid #333;
    animation: filmRollSpin 8s linear infinite;
    opacity: 0.2;
}

.film-roll::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #0a0a0a;
    border-radius: 50%;
    border: 3px solid #333;
}

.film-roll-1 {
    top: 80%;
    left: 10%;
    animation-delay: 0s;
}

.film-roll-2 {
    top: 10%;
    left: 90%;
    animation-delay: 4s;
}

@keyframes filmRollSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.ticket {
    position: absolute;
    font-size: 2rem;
    animation: ticketFloat 10s ease-in-out infinite;
    opacity: 0.3;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.ticket-1 {
    top: 25%;
    left: 5%;
    animation-delay: 2s;
}

.ticket-2 {
    top: 85%;
    left: 80%;
    animation-delay: 6s;
}

@keyframes ticketFloat {
    0%, 100% {
        transform: translateX(0) rotate(0deg) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translateX(20px) rotate(5deg) scale(1.1);
        opacity: 0.4;
    }
    50% {
        transform: translateX(-10px) rotate(-3deg) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translateX(15px) rotate(2deg) scale(1.05);
        opacity: 0.4;
    }
}

/* Main Loading Content */
.loading-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Enhanced Mascot Container */
.mascot-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 30px;
}

.mascot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 115, 255, 0.4) 0%, rgba(0, 115, 255, 0) 70%);
    border-radius: 50%;
    animation: mascotPulse 3s ease-in-out infinite;
    filter: blur(25px);
    opacity: 0.6;
}

@keyframes mascotPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

.mascot-spinner {
    width: 100%;
    height: 100%;
    animation: mascotFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 115, 255, 0.6));
}

@keyframes mascotFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    25% { 
        transform: translateY(-10px) rotate(2deg);
    }
    50% { 
        transform: translateY(0px) rotate(0deg);
    }
    75% { 
        transform: translateY(5px) rotate(-1deg);
    }
}

.loading-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 25px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, #00c6ff 50%, var(--primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 115, 255, 0.3);
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.progress-container {
    width: 320px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    border: 1px solid rgba(0, 115, 255, 0.2);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 115, 255, 0.4);
    position: relative;
    z-index: 2;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-message {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    max-width: 400px;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Login Container */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.login-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 115, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 115, 255, 0.08) 0%, transparent 50%);
}

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

.floating-card {
    position: absolute;
    width: 100px;
    height: 150px;
    background: linear-gradient(135deg, rgba(0, 115, 255, 0.08) 0%, rgba(0, 115, 255, 0.03) 100%);
    border: 1px solid rgba(0, 115, 255, 0.15);
    border-radius: 8px;
    animation: floatCard 15s ease-in-out infinite;
    opacity: 0.6;
}

.floating-card:nth-child(1) {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 65%;
    left: 75%;
    animation-delay: 3s;
}

.floating-card:nth-child(3) {
    top: 75%;
    left: 25%;
    animation-delay: 6s;
}

.floating-card:nth-child(4) {
    top: 35%;
    left: 80%;
    animation-delay: 9s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-15px) rotate(2deg) scale(1.05);
        opacity: 0.7;
    }
    50% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: translateY(10px) rotate(-1deg) scale(0.95);
        opacity: 0.4;
    }
}

.login-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

/* Brand Styles */
.login-brand {
    text-align: center;
    margin-bottom: 3rem;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 0.8rem; */
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.login-logo {
    height: 150px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(0, 115, 255, 0.6));
}

.brand strong {
    color: var(--primary);
}

.login-tagline {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Login Form */
.login-form-container {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.login-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-form-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.login-form-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

/* Phone Number Input with Country Code */
.phone-input-container {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.phone-input-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.1);
}

.country-code {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: rgba(0, 115, 255, 0.1);
    border-right: 1px solid var(--border);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.phone-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    padding: 1rem;
    outline: none;
    font-family: inherit;
}

.phone-input::placeholder {
    color: var(--text-muted);
}

/* OTP Input */
.otp-input-container {
    position: relative;
}

.otp-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: var(--transition);
    font-family: inherit;
    text-align: center;
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.1);
}

.otp-input::placeholder {
    color: var(--text-muted);
    letter-spacing: normal;
    font-weight: normal;
}

.otp-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    z-index: 2;
}

/* OTP Actions */
.otp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.resend-otp {
    color: var(--primary);
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 4px;
}

.resend-otp:hover:not(:disabled) {
    color: var(--primary-dark);
    background: rgba(0, 115, 255, 0.1);
}

.resend-otp:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Forgot Password Link Styles */
.timer {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password-link {
    text-align: right;
    margin-top: 0.5rem;
}

.forgot-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.forgot-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 115, 255, 0.3);
}

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

/* Divider */
.login-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.login-divider span {
    background: var(--bg-card);
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Social Login */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-dark);
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.social-btn:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.google-btn:hover {
    border-color: #DB4437;
    color: #DB4437;
}

.facebook-btn:hover {
    border-color: #4267B2;
    color: #4267B2;
}

/* Login Footer */
.login-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.login-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Forgot Password Modal */
.forgot-password-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.forgot-password-modal.active {
    display: flex;
}

.forgot-modal-container {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 450px;
    width: 100%;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.forgot-modal-content {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

.forgot-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.forgot-modal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.forgot-modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.forgot-form .form-group {
    margin-bottom: 1.5rem;
}

.forgot-form .input-with-icon {
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Additional styles for kiosk login dropdown */
.filter-select-advanced {
    position: relative;
    width: 100%;
}

.filter-select-advanced select {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    transition: var(--transition);
    font-family: inherit;
}

.filter-select-advanced select:hover {
    border-color: var(--primary);
}

.filter-select-advanced select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.1);
}

.filter-select-advanced::after {
    content: '\f282';
    font-family: 'boxicons' !important;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    z-index: 2;
}

/* Input container styles for consistency */
.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    z-index: 2;
}

.input-container .form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.input-container .form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.1);
}

.input-container .form-input::placeholder {
    color: var(--text-muted);
}

/* Select dropdown options styling */
.filter-select-advanced select option {
    background: var(--bg-card);
    color: var(--text);
    padding: 0.8rem;
    border: none;
}

.filter-select-advanced select option:checked {
    background: var(--primary);
    color: white;
}

.filter-select-advanced select option:hover {
    background: var(--primary-dark);
}

/* Error state for dropdown */
.filter-select-advanced.error select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.filter-select-advanced.error::after {
    color: #ef4444;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    flex: 1;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.3rem;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

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

/* Notification System */
.notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(400px);
    opacity: 0;
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification.success {
    border-left-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.notification.success .notification-icon {
    color: #22c55e;
}

.notification.error {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.notification.error .notification-icon {
    color: #ef4444;
}

.notification.warning {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.notification.warning .notification-icon {
    color: #f59e0b;
}

.notification.info {
    border-left-color: var(--primary);
    background: rgba(0, 115, 255, 0.1);
}

.notification.info .notification-icon {
    color: var(--primary);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.notification-message {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

/* Error state for form fields */
.phone-input-container.error,
.otp-input-container.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.phone-input-container.error .country-code,
.otp-input-container.error .otp-icon {
    color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-form-container {
        padding: 2rem 1.5rem;
    }
    
    .brand {
        font-size: 1.8rem;
    }
    
    .login-logo {
        height: 40px;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
    
    .otp-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .resend-otp, .timer {
        text-align: center;
    }
    
    .login-loading-text {
        font-size: 2rem;
    }
    
    .mascot-container {
        width: 120px;
        height: 120px;
    }
    
    .progress-container {
        width: 280px;
    }
    
    .shape {
        width: 60px !important;
        height: 60px !important;
    }
    
    .popcorn {
        font-size: 2rem;
    }
    
    .film-roll {
        width: 40px;
        height: 40px;
    }
    
    .ticket {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-form-container {
        padding: 1.5rem 1rem;
    }
    
    .brand {
        font-size: 1.5rem;
        gap: 0.5rem;
    }
    
    .login-logo {
        height: 35px;
    }
    
    .login-form-header h1 {
        font-size: 1.5rem;
    }
    
    .phone-input {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .country-code {
        padding: 0 0.8rem;
        font-size: 0.9rem;
    }
    
    .otp-input {
        padding: 0.9rem 0.9rem 0.9rem 2.8rem;
        font-size: 1.1rem;
    }
    
    .otp-icon {
        left: 0.8rem;
        font-size: 1.1rem;
    }
    
    .login-loading-text {
        font-size: 1.8rem;
    }
    
    .mascot-container {
        width: 100px;
        height: 100px;
    }
    
    .progress-container {
        width: 250px;
    }
    
    .loading-message {
        font-size: 1rem;
        max-width: 300px;
    }
}

/* Loading state for buttons */
.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.login-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Focus styles for accessibility */
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}