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

body.login-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    height: 100vh;
    width: 100vw;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2vh 0;
}

.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/Login_background_image.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 78, 0.85) 0%, rgba(13, 74, 92, 0.75) 50%, rgba(10, 61, 78, 0.85) 100%);
    backdrop-filter: blur(3px);
}

.login-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: clamp(20px, 4vh, 48px) clamp(24px, 4vw, 40px);
    width: 100%;
    max-height: 96vh;
}

.logo-section {
    text-align: center;
    margin-bottom: clamp(16px, 4vh, 40px);
}

.logo-icon {
    width: clamp(60px, 15vh, 200px);
    height: clamp(60px, 15vh, 200px);
    margin: 0 auto clamp(8px, 2vh, 20px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.app-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: clamp(12px, 3vh, 24px);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

.input-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: #14CE89;
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s ease;
}

.form-control {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(10px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(21, 182, 222, 0.8);
    box-shadow: 0 0 0 3px rgba(21, 182, 222, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.form-control:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: #15B6DE;
}


.alert svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.btn-login {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #15B6DE 0%, #14CE89 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(21, 182, 222, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: clamp(16px, 3vh, 32px);
    position: relative;
    overflow: hidden;
}

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

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 182, 222, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #14CE89 0%, #15B6DE 100%);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(21, 182, 222, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-text {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn-login:hover .btn-icon {
    transform: translateX(4px);
}

.login-footer {
    margin-top: clamp(16px, 3vh, 32px);
    text-align: center;
    padding-top: clamp(12px, 2vh, 24px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .login-card {
        padding: 36px 28px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.18);
    }

    .logo-icon {
        width: 100px;
        height: 100px;
    }

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

    .app-subtitle {
        font-size: 0.875rem;
    }

    .background-overlay {
        background: linear-gradient(135deg, rgba(10, 61, 78, 0.88) 0%, rgba(13, 74, 92, 0.8) 50%, rgba(10, 61, 78, 0.88) 100%);
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 16px;
    }

    .login-card {
        padding: 32px 24px;
        background: rgba(255, 255, 255, 0.2);
    }

    .logo-section {
        margin-bottom: 32px;
    }

    .logo-icon {
        width: 80px;
        height: 80px;
    }

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

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

    .btn-login {
        margin-top: 24px;
    }

    .background-overlay {
        background: linear-gradient(135deg, rgba(10, 61, 78, 0.92) 0%, rgba(13, 74, 92, 0.85) 50%, rgba(10, 61, 78, 0.92) 100%);
        backdrop-filter: blur(5px);
    }
}