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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    position: relative;
}

.background-illustrations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.illustration {
    position: absolute;
    font-size: 3rem;
    animation: float 20s infinite ease-in-out;
}

.illustration.stopwatch {
    top: 10%;
    left: 5%;
    font-size: 5rem;
    color: #fbbf24;
    text-shadow: 
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
    filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.3));
    animation: float 8s infinite ease-in-out;
    position: relative;
}

.stopwatch-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 18px;
    height: 18px;
    background: #f9a8d4;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.illustration.cloud {
    color: #ffffff;
    font-size: 3.5rem;
    text-shadow: 
        -1px -1px 0 rgba(0, 0, 0, 0.15),
        1px -1px 0 rgba(0, 0, 0, 0.15),
        -1px 1px 0 rgba(0, 0, 0, 0.15),
        1px 1px 0 rgba(0, 0, 0, 0.15);
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.1));
}

.illustration.cloud-1 {
    top: 12%;
    right: 8%;
    font-size: 3rem;
    animation: float 10s infinite ease-in-out;
}

.illustration.cloud-2 {
    top: 45%;
    left: 10%;
    font-size: 2.5rem;
    animation: float 12s infinite ease-in-out;
}

.illustration.cloud-3 {
    bottom: 25%;
    right: 12%;
    font-size: 2.8rem;
    animation: float 9s infinite ease-in-out;
}

.illustration.map {
    top: 5%;
    right: 6%;
    font-size: 4rem;
    color: #93c5fd;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
    filter: drop-shadow(0 0 2px rgba(147, 197, 253, 0.3));
    animation: float 7s infinite ease-in-out;
}

.illustration.suitcase {
    bottom: 12%;
    left: 6%;
    font-size: 4rem;
    color: #fbbf24;
    text-shadow: 
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
    filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.3));
    animation: float 9s infinite ease-in-out;
}

.illustration.ticket {
    font-size: 3rem;
    animation: float 11s infinite ease-in-out;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.1));
}

.illustration.ticket-1 {
    bottom: 10%;
    right: 10%;
    color: #fbbf24;
}

.illustration.ticket-2 {
    bottom: 15%;
    right: 14%;
    color: #f9a8d4;
    z-index: -1;
}

.illustration.doodle {
    width: 100px;
    height: 3px;
    background: none;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    transform: rotate(45deg);
    border-top: none;
    border-bottom: none;
}

.illustration.doodle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 40px;
    height: 3px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-top: none;
    border-bottom: none;
    transform: rotate(-30deg);
}

.illustration.doodle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 40px;
    height: 3px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-top: none;
    border-bottom: none;
    transform: rotate(30deg);
}

.illustration.doodle-1 {
    top: 28%;
    left: 15%;
    width: 80px;
    animation: float 7s infinite ease-in-out;
}

.illustration.doodle-2 {
    top: 58%;
    right: 18%;
    width: 120px;
    animation: float 10s infinite ease-in-out;
}

.illustration.doodle-3 {
    bottom: 32%;
    left: 22%;
    width: 90px;
    animation: float 8s infinite ease-in-out;
}

.illustration.calendar {
    top: 10%;
    left: 5%;
    font-size: 5rem;
    color: #f97316;
    text-shadow: 
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
    filter: drop-shadow(0 0 2px rgba(249, 115, 22, 0.3));
    animation: float 8s infinite ease-in-out;
}

.illustration.star {
    color: #fbbf24;
    font-size: 3rem;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
    filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.3));
}

.illustration.star-1 {
    top: 12%;
    right: 8%;
    font-size: 3.5rem;
    animation: float 10s infinite ease-in-out;
}

.illustration.star-2 {
    top: 45%;
    left: 10%;
    font-size: 2.8rem;
    animation: float 12s infinite ease-in-out;
}

.illustration.star-3 {
    bottom: 25%;
    right: 12%;
    font-size: 3rem;
    animation: float 9s infinite ease-in-out;
}

.illustration.globe {
    top: 5%;
    right: 6%;
    font-size: 4.5rem;
    color: #34d399;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
    filter: drop-shadow(0 0 2px rgba(52, 211, 153, 0.3));
    animation: float 7s infinite ease-in-out;
}

.illustration.briefcase {
    bottom: 12%;
    left: 6%;
    font-size: 4rem;
    color: #f59e0b;
    text-shadow: 
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
    filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.3));
    animation: float 9s infinite ease-in-out;
}

.illustration.plane {
    font-size: 3rem;
    animation: float 11s infinite ease-in-out;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.1));
}

.illustration.plane-1 {
    bottom: 10%;
    right: 10%;
    color: #34d399;
    transform: rotate(-15deg);
}

.illustration.plane-2 {
    bottom: 15%;
    right: 14%;
    color: #60a5fa;
    transform: rotate(12deg);
    z-index: -1;
}

.illustration.wave {
    width: 100px;
    height: 3px;
    background: none;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    transform: rotate(45deg);
    border-top: none;
    border-bottom: none;
}

.illustration.wave::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 50px;
    height: 3px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-top: none;
    border-bottom: none;
    transform: rotate(-25deg);
}

.illustration.wave::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 50px;
    height: 3px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-top: none;
    border-bottom: none;
    transform: rotate(25deg);
}

.illustration.wave-1 {
    top: 28%;
    left: 15%;
    width: 90px;
    animation: float 7s infinite ease-in-out;
}

.illustration.wave-2 {
    top: 58%;
    right: 18%;
    width: 130px;
    animation: float 10s infinite ease-in-out;
}

.illustration.wave-3 {
    bottom: 32%;
    left: 22%;
    width: 100px;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) translateX(10px) rotate(2deg);
    }
    66% {
        transform: translateY(10px) translateX(-15px) rotate(-2deg);
    }
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.login-left {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.login-content {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.system-logo {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    margin-bottom: 10px;
}

.logo-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 3rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.no-account-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.no-account-link:hover {
    color: #1e40af;
}

.no-account-link i {
    font-size: 1rem;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 30px;
}

.login-form {
    position: relative;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.hourglass-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hourglass-icon {
    font-size: 3rem;
    color: #10b981;
    animation: rotate360 1.5s linear infinite;
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #9ca3af;
    font-size: 1rem;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
    color: #1f2937;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.form-input::placeholder {
    color: #9ca3af;
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
    min-height: 18px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.remember-me label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
}

.signin-button {
    width: 100%;
    padding: 14px 20px;
    background: #667eea;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.signin-button:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.signin-button:active {
    transform: translateY(0);
}

.forgot-password {
    display: block;
    text-align: center;
    color: #000000;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #000000;
    opacity: 0.8;
}

.login-right {
    flex: 1;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.promo-content {
    width: 100%;
    max-width: 500px;
    color: #1e293b;
    z-index: 1;
    position: relative;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #0f172a;
}

.promo-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #475569;
}

.get-started-btn {
    padding: 14px 30px;
    background: #0ea5e9;
    color: #ffffff;
    border: 2px solid #0ea5e9;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
    text-decoration: none;
    display: inline-block;
}

.get-started-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.promo-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.promo-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-right {
        min-height: 400px;
    }

    .promo-title {
        font-size: 2rem;
    }

    .promo-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .login-left {
        padding: 30px 20px;
    }

    .login-right {
        padding: 40px 20px;
    }

    .promo-title {
        font-size: 1.75rem;
    }

    .promo-description {
        font-size: 0.95rem;
    }

    .promo-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .login-left {
        padding: 20px 15px;
    }

    .login-right {
        padding: 30px 15px;
        min-height: 300px;
    }

    .promo-title {
        font-size: 1.5rem;
    }

    .promo-description {
        font-size: 0.9rem;
    }

    .logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}

.forgot-password-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.forgot-password-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
    padding-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.modal-form {
    padding: 0 24px 24px;
}

.modal-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: #667eea;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.modal-submit-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

.modal-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        border-radius: 12px;
    }

    .modal-header {
        padding: 20px 20px 0;
        padding-bottom: 16px;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-form {
        padding: 0 20px 20px;
    }
}
