﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

.login-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.wave-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

    .wave-bg svg {
        width: 100%;
        height: 100%;
    }

.form-container {
    position: absolute;
    top: 60%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 3;
    padding: 50px;
}
.wiz-title {
    font-family: 'Orbitron', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 2rem;
    line-height: 2.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #27AE60;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-bottom: 16px;
}

.login-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 2;
    letter-spacing: 0.1em;
    color: #1E293B;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-bottom: 16px;
}

.form-label-custom {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem; 
    line-height: 2rem; 
    color: #1E293B;
    margin-bottom: 1rem; 
    display: block;
    width: 26rem; 
}
.form-control-custom {
    width: 26rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    border: none;
    border-bottom: 2px solid #D0D5DD;
    padding: 0 0 8px 0;
    line-height: 1.2;
    outline: none;
}

.form-control-custom:focus {
        border-bottom: 2px solid #27AE60;
}
.password-row {
    margin-top: 1.25rem;
}
.password-wrapper {
    width: 26rem;
    display: flex;
    flex-direction: column;
}

    .password-wrapper input {
        border: none;
        border-bottom: 2px solid #D0D5DD;
        font-family: 'Poppins', sans-serif;
        font-size: 1rem;
        line-height: 1.2;
        padding: 0 0 8px 0;
        outline: none;
    }

        .password-wrapper input:focus {
            border-bottom-color: #27AE60;
        }
.forgot-link {
    font-size: 11px;
    color: #27AE60;
    text-decoration: none;
    margin-top: 4px;
    align-self: flex-end; 
}
.forgot-link:hover {
        text-decoration: underline;
}
.login-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 3rem;
    gap: 0.625rem;
    color: #FFFFFF;
    background: linear-gradient(135deg, #2ECC71 0%, #1ABC9C 100%);
    transition: 0.3s ease;
    border: none;
    border-radius: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    -webkit-font-smoothing: antialiased;
}
.login-form label.error {
    color: #ff4d4d !important;
    font-size: 0.8rem;
    display: block;
    font-family: 'Poppins', sans-serif;
}

/* Tablet screens */
@media (max-width: 992px) {
    .form-container {
        padding: 30px;
        left: 3%;
        transform: translateY(-50%);
    }

    .form-label-custom,
    .form-control-custom,
    .password-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .login-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 10px;
        height: 100vh;
    }

    .form-container {
        width: 90%;
        max-width: 380px;
        margin: auto;
        background: #ffffff;
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.08);
        position: relative;
        top: unset;
        left: unset;
        transform: unset;
    }

    .wiz-title {
        font-size: 1.6rem;
        line-height: 2rem;
    }

    .login-title {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    .form-label-custom,
    .form-control-custom,
    .password-wrapper {
        width: 100%;
    }

    .login-btn {
        width: 100%;
        height: 2.8rem;
    }

    .wave-bg svg {
        height: 100%;
        object-fit: cover;
    }
}




