﻿

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #1A4D44 0%, #1A4D44 100%);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

main.login-container {
    background: rgba(255 255 255 / 0.07);
    backdrop-filter: blur(26px) saturate(180%);
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    padding: 48px 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 1px 4px rgba(255 255 255 / 0.12);
}
.centered-image {
    width: 100%; /* Fits the container's width */
    height: auto; /* Maintains aspect ratio */
    max-height: 25vh; /* Limits height to 50% of viewport height to avoid overwhelming the form */
    object-fit: contain; /* Ensures the entire image is visible within the dimensions */
    margin-bottom: 5px; /* Space between image and h1 */
}

/*h1 {
    font-weight: 800;
    font-size: 2.4rem;
    margin-bottom: 32px;
    color: #bde4dc;
    text-align: center;
    letter-spacing: 1.2px;
}*/
.animated-text {
    font-size: 2em; /* Larger text for emphasis */
    margin: 0 0 20px 0; /* Space below h1 */
    opacity: 0; /* Start hidden for animation */
    animation: fadeInSlide 1.5s ease-in-out forwards; /* Animation properties */
}
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

    label .material-icons {
        font-size: 1.2rem;
        color: #9ac3b5;
    }

input[type="email"],
input[type="password"] {
    padding: 14px 16px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background: rgba(255 255 255 / 0.12);
    color: #e0f2ed;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    input[type="email"]:focus
     {
        background: rgba(255 255 255 / 0.25);
        outline: none;
        box-shadow: 0 0 8px 2px #4b9b8aaa;
    }
    input[type="password"]:focus {
        outline: none;
        border-color: #4CAF50; /* Green theme as per your document */
        box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
    }


.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4b9b8a;
    cursor: pointer;
    border-radius: 4px;
}

button.btn-login {
    background: linear-gradient(135deg, #1A4D44, #397a71);
    border: none;
    color: white;
    font-weight: 700;
    padding: 16px;
    font-size: 1.1rem;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    user-select: none;
    transition: box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

    button.btn-login:hover,
    button.btn-login:focus-visible {
        box-shadow: 0 10px 30px rgba(29, 77, 68, 0.6);
        transform: translateY(-3px);
        outline: none;
    }
    /* Ripple effect */
    button.btn-login::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 10%, transparent 10.01%);
        background-repeat: no-repeat;
        background-position: 50%;
        transform: scale(0);
        opacity: 0;
        transition: transform 0.4s, opacity 0.8s;
        pointer-events: none;
        z-index: 0;
    }

    button.btn-login:active::after {
        transform: scale(1);
        opacity: 1;
        transition: 0s;
    }

.links {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #9ac3b5;
    display: flex;
    justify-content: space-between;
}

    .links a {
        color: #bde4dc;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .links a:hover,
        .links a:focus-visible {
            color: #d4f1e6;
            outline: none;
        }

@media (max-width: 480px) {
    main.login-container {
        padding: 36px 24px;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    button.btn-login {
        padding: 14px;
        font-size: 1rem;
    }
}


