/* --- Base Styles & Layout --- */
body,
html {
    height: 100% !important;
    margin: 0 !important;
    background-color: #f5f6fa;
}

.login-wrapper {
    display: flex;
    min-height: 100vh !important;
    width: 100%;
    overflow-x: hidden;
}

/* --- Left Panel: Vertical Alignment --- */
.login-left {
    flex: 1;
    /* background-image: linear-gradient(-225deg, #015f97 0%, #00a9ec 29%, rgba(24, 193, 0, 0.53) 100%); */
    /* background: linear-gradient(145deg,rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%); */
    /* background: linear-gradient(145deg,rgba(178, 90, 237, 1) 0%, rgba(250, 110, 110, 1) 50%, rgba(245, 192, 118, 1) 100%); */
    /* background: 
    radial-gradient(
        circle at 70% 40%,
        rgba(168, 157, 255, 0.55) 0%,
        rgba(120, 180, 255, 0.35) 25%,
        rgba(0, 0, 0, 0) 55%
    ),
    linear-gradient(
        115deg,
        #031a2b 0%,
        #003e5f 20%,
        #007ea3 40%,
        #39b6d6 55%,
        #6fa3f7 70%,
        #7b6fe8 100%
    ); */
    background: url("../img/login_bg_left.png") no-repeat center center/cover;;
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    transition: all 0.3s ease;
}

.login-left .logo img {
    height: 70px;
    width: auto;
}

.section-middle {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Right Panel & Card Styles --- */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: url("../img/TP-H.svg") no-repeat center center/cover;
}

.login-card {
    max-width: 60%;
    width: 100%;
    border-radius: 8px;
    padding: 30px;
    background: none !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* --- Typography & Elements --- */
h1 {
    font-size: 44px;
    font-family: "Sukar", sans-serif;
    font-weight: 600;
    color: #F8F7BA;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1.5px;
    margin-bottom: 0;
}

h4 {
    text-decoration: underline;
    color: #4DFFBE;
}

h5 {
    font-size: 20px;
    font-family: "Public Sans", sans-serif;
    word-spacing: 5px;
    letter-spacing: 1px;
    color: #F8F7BA;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.heading {
    text-decoration: underline;
    color: #B6F500;
    letter-spacing: 5px;
    font-size: 36px;
    font-family: "Sukar", sans-serif;
}

p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
}

label {
    color: darkblue !important;
}

hr {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
    color: darkblue;
    height: 5px;
    opacity: 1;
}

.abims-logo {
    width: 120px;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
    display: block;
    margin: 0 auto 10px auto;
}

.login-heading {
    text-align: center;
    color: #360185;
    font-family: 'Sukar', sans-serif;
    font-weight: bold;
}

.registration-link {
    color: darkblue !important;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: aliceblue !important;
    padding: 5px;
    border-radius: 5px;
    border: solid 1px;
}

.registration-link:hover {
    text-decoration: none;
    color: aliceblue !important;
    cursor: pointer;
    background: darkblue !important;
}

a.btn-primary,
a.registration-link-btn {
    background: #1b4a75;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    color: aliceblue !important;
    border: 1px solid;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

/* --- Transitions --- */
.form-stage {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
}

.form-content {
    position: absolute;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100px);
}

.form-content.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.form-content.exit {
    opacity: 0;
    transform: translateX(-100px);
    pointer-events: none;
}

.step-header {
    font-size: 0.9rem;
    color: #005461;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    font-weight: 600;
}

.read-only-email {
    background-color: #e9ecef !important;
    font-weight: 600;
    color: #495057;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    h1 {
        font-size: 32px;
    }

    h5 {
        font-size: 18px;
    }

    .heading {
        font-size: 26px;
    }

    p {
        font-size: 1rem;
    }

    .login-left {
        padding: 2rem;
    }

    .login-card {
        max-width: 75%;
    }
}

@media (max-width: 900px) {
    .login-left {
        display: none !important;
    }

    .login-card {
        max-width: 90%;
        background: rgba(255, 255, 255, 0.9) !important;
    }
}