
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Enhanced animated background */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Airport terminal structure */
.airport-structure {
    position: absolute;
    bottom: -50px;
    right: -100px;
    width: 400px;
    height: 300px;
    opacity: 0.08;
    transform: rotate(-5deg);
}

.terminal-building {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px 10px 0 0;
}

.terminal-building::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 20px;
    right: 20px;
    height: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px 15px 0 0;
}

.control-tower {
    position: absolute;
    bottom: 120px;
    right: 50px;
    width: 40px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.control-tower::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -10px;
    width: 60px;
    height: 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

/* Airplanes */
.airplane {
    position: absolute;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.3);
    animation: fly 30s infinite linear;
}

.airplane-1 {
    top: 20%;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.airplane-2 {
    top: 60%;
    animation-delay: -15s;
    font-size: 45px;
    transform: rotate(-10deg);
}

.airplane-3 {
    top: 40%;
    animation-delay: -8s;
    font-size: 50px;
    transform: rotate(-20deg);
}

.airplane-4 {
    top: 60%;
    animation-delay: -5s;
    font-size: 40px;
    transform: rotate(-10deg);
}

.airplane-5 {
    top: 40%;
    animation-delay: -30s;
    font-size: 50px;
    transform: rotate(-20deg);
}

.airplane-6 {
    top: 50%;
    animation-delay: -25s;
    font-size: 35px;
    transform: rotate(-10deg);
}

@keyframes fly {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(-15deg);
        opacity: 0;
    }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-20px) rotate(-15deg);
        opacity: 0;
    }
}

/* Flight path trails */
.flight-trail {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: trail 25s infinite linear;
}

.trail-1 {
    top: 22%;
    width: 150px;
    animation-delay: 2s;
}

.trail-2 {
    top: 62%;
    width: 120px;
    animation-delay: -13s;
}

.trail-3 {
    top: 42%;
    width: 130px;
    animation-delay: -6s;
}

@keyframes trail {
    0% {
        transform: translateX(-200px);
        opacity: 0;
    }
    20% { opacity: 0.4; }
    80% { opacity: 0.4; }
    100% {
        transform: translateX(calc(100vw + 200px));
        opacity: 0;
    }
}

.cloud {
    position: absolute;
    background: #ffffff00; /*rgba(255, 255, 255, 0.08);*/
    border-radius: 50px;
    animation: float 25s infinite linear;
    /*box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);*/
}

.cloud:before {
    content: '';
    position: absolute;
    /*background: rgba(255, 255, 255, 0.06);*/
    border-radius: 50px;
}

.cloud1 {
    width: 120px;
    height: 50px;
    top: 15%;
    animation-delay: 0s;
}

.cloud1:before {
    width: 50px; /*80px;*/
    height: 50px; /*80px;*/
    top: -40px;
    right: 15px;
}

.cloud2 {
    width: 100px;
    height: 40px;
    top: 75%;
    animation-delay: -12s;
}

.cloud2:before {
    width: 60px;
    height: 60px;
    top: -30px;
    right: 20px;
}

.cloud3 {
    width: 90px;
    height: 35px;
    top: 85%;
    animation-delay: -8s;
}

.cloud3:before {
    width: 50px;
    height: 50px;
    top: -25px;
    right: 12px;
}

@keyframes float {
    0% { transform: translateX(-150px) rotate(0deg); }
    100% { transform: translateX(calc(100vw + 150px)) rotate(360deg); }
}

/* Floating particles - now looking like distant lights */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: particle-float 20s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.2;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

/* Runway lights */
.runway-lights {
    position: absolute;
    bottom: 10%;
    left: -50px;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 80%, transparent);
    animation: runway-pulse 4s infinite ease-in-out;
}

@keyframes runway-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3);
    padding: 45px;
    width: 100%;
    max-width: 440px;
    position: relative;
    animation: slideUp 0.9s ease-out;
    overflow: hidden;
}

/*.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 24px 24px 0 0;
}*/

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 0px;
    position: relative;
}

.company-logo {
    height: 70px;
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

.subtitle {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.welcome-text {
    color: #495057;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px !important;
    padding: 16px 20px 16px 50px;
    font-size: 16px;
    background: rgba(248, 249, 250, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
    background: rgba(255, 255, 255, 1);
    outline: none;
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 7;
    font-size: 16px;
    transition: color 0.3s ease;
}

.input-group:focus-within .input-icon {
    color: #667eea;
}

.btn-login {
    background: #B53389;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
    transform: translateY(-1px);
}

.btn-login .loading {
    display: none;
}

.link-primary {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.link-primary::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.link-primary:hover::after {
    width: 100%;
}

.link-primary:hover {
    color: #764ba2;
    text-decoration: none;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
}

.footer-right {
    display: flex;
    align-items: center;
}

.developer-logo {
    height: 28px;
    width: auto;
    opacity: 0.85;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.developer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Enhanced Modal Styles */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 25px 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px 20px 0 0;
}

.modal-title {
    font-weight: 600;
    color: #495057;
    font-size: 1.25rem;
}

.modal-body {
    padding: 30px;
}

.modal-body .form-control {
    padding: 16px 20px 16px 50px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    background: rgba(248, 249, 250, 0.8);
}

.modal-body .input-icon {
    left: 18px;
    font-size: 16px;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 30px 25px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 0 0 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-card {
        padding: 35px 25px;
        margin: 15px;
        border-radius: 20px;
    }

    .company-logo { height: 55px; }

    .footer {
        padding: 12px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .modal-body, .modal-header, .modal-footer { padding: 20px; }
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading { animation: spin 1s linear infinite; }

/* Focus states */
.focused .form-control { border-color: #667eea; box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15); }

.focused .input-icon { color: #667eea; }

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar { width: 6px; }

.modal-body::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }

.modal-body::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }

.modal-body::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }
.modal-footer .btn { color: #fff !important; }
.modal-footer .btn:hover { color: #fff !important; background-color: #0b5ed7 !important; border-color: #0a58ca !important; }

