* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-wrapper {
    min-height: 100vh;
    padding: 0;
}

body {
    background: #e9ecef;
    font-family: 'Poppins', sans-serif;
}

.page-card {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
}

.main-card {
    min-height: 100vh;
    margin: 0;
}

.left-panel {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    min-height: 100vh;
    align-items: center;
    padding: clamp(30px, 5vw, 80px);
    background: radial-gradient(ellipse 141.42% 114.56% at 100.00% 0.00%, #0E77BC 18%, #6DD1F4 100%);
}

.left-panel::before,
.left-panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(220px);
}

.left-panel::before {
    width: 900px;
    height: 900px;
    top: -450px;
    right: -200px;
    background: rgba(3, 105, 161, 0.95);
    z-index: 1;
}

.left-panel::after {
    width: 950px;
    height: 950px;
    bottom: -500px;
    left: -250px;
    background: rgba(125, 211, 252, 0.95);
    z-index: 1;
}

.left-blur {
    position: absolute;
    width: 850px;
    height: 850px;
    top: -50px;
    left: -100px;
    background: linear-gradient(180deg, #0287E3 19%, #08C0EC 100%);
    border-radius: 999px;
    filter: blur(220px);
    z-index: 1;
}

.logo-top {
    position: absolute;
    top: 35px;
    left: 35px;
    z-index: 10;
}

.logo-top img {
    width: 120px;
}

.heart-image {
    position: absolute;
    right: -75px;
    bottom: -7px;
    z-index: 5;
}

.heart-image img {
    width: 380px;
    max-width: 82%;
}

.left-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
    color: white;
    margin-top: 90px;
}

.left-title {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.left-desc {
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
}

.right-panel {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 45px 70px;
    background: #fff;
}

.login-box {
    width: 100%;
    max-width: 430px;
}

.login-title {
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 600;
    color: #2d2f36;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: clamp(14px, 1vw, 16px);
    color: #6B7F96;
    margin-bottom: 28px;
}

.login-subtitle a,
.login-subtitle a:visited,
.login-subtitle a:hover,
.login-subtitle a:active,
.options-row a,
.options-row a:visited,
.options-row a:hover,
.options-row a:active {
    color: #1279C6 !important;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.form-label {
    font-size: clamp(14px, 1vw, 15px);
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

.required {
    color: red;
}

/* FIX: Input group border styling - Updated */
.input-group {
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid #d7d7d7;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group:focus-within {
    border-color: #0287E3;
    box-shadow: 0 0 0 0.2rem rgba(2, 135, 227, 0.25);
}

.input-group .input-group-text,
.input-group .form-control {
    border: none !important;
    border-radius: 0 !important;
    background: transparent;
}

.input-group .form-control {
    height: 54px;
    font-size: clamp(14px, 1vw, 15px);
    padding: 0.375rem 0.75rem;
}

.input-group .form-control:focus {
    box-shadow: none !important;
    border-color: transparent !important;
    outline: none !important;
}

.input-group .input-group-text {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: transparent;
}

.input-group .input-group-text:first-child {
    padding-left: 18px;
}

.input-group .input-group-text:last-child {
    padding-right: 18px;
    padding-left: 12px;
    cursor: pointer;
}

.input-group .input-group-text i {
    color: #9ca3af;
    font-size: 18px;
}

.input-group .input-group-text:last-child:hover {
    background-color: #f5f5f5 !important;
}

/* Remove individual border radius overrides */
.email-input,
.password-input {
    border: none !important;
    border-radius: 0 !important;
}

.email-input:focus,
.password-input:focus {
    border: none !important;
    box-shadow: none !important;
}

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -3px;
    margin-bottom: 28px;
    font-size: 14px;
}

.options-row label {
    color: #666;
}

.btn-login,
.btn-register,
.btn-reset-pwd {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 50px;
    background: #0287E3;
    box-shadow: 0px 0px 18px 4px rgba(255, 255, 255, 0.69) inset;
    color: #FFFFFF;
    font-size: clamp(15px, 1vw, 18px);
    transition: 0.3s ease;
}

.btn-login:hover,
.btn-register:hover,
.btn-reset-pwd:hover {
    background: #0287E3;
    box-shadow: 0px 0px 18px 4px rgba(255, 255, 255, 0.69) inset;
    color: #FFFFFF;
}

.hidden-form {
    display: none;
}

@media (max-width: 1200px) {
    .left-panel,
    .right-panel {
        padding: 45px;
    }

    .heart-image img {
        width: 360px;
    }
}

@media (max-width: 991px) {
    .left-panel {
        min-height: 430px;
        padding: 40px;
    }

    .right-panel {
        padding: 40px 30px;
    }

    .heart-image {
        right: -40px;
        bottom: 0;
    }

    .heart-image img {
        width: 280px;
    }
}

@media (max-width: 576px) {
    .main-wrapper {
        padding: 10px;
    }

    .main-card {
        border-radius: 18px;
    }

    .left-panel {
        min-height: 360px;
        padding: 28px 24px;
    }

    .logo-top {
        top: 24px;
        left: 24px;
    }

    .logo-top img {
        width: 95px;
    }

    .heart-image {
        right: -50px;
        bottom: 10px;
    }

    .heart-image img {
        width: 220px;
    }

    .left-content {
        margin-top: 70px;
    }

    .right-panel {
        padding: 35px 22px;
    }

    .options-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-login,
    .btn-register,
    .btn-reset-pwd {
        height: 52px;
        font-size: 16px;
    }
}