@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: #eefaff;
    overflow-x: hidden;
}

.forgot-page {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-image: url("/images/home/background7.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.back-login {
    position: absolute;
    top: 18px;
    left: 50%;
    margin-left: -95px;
    width: 190px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f5b6da;
    border-radius: 25px;
    background: white;
    color: #f21b91;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.clinic-brand {
    position: absolute;
    top: 60px;
    left: 50%;
    margin-left: -160px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clinic-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.clinic-name {
    text-align: center;
    line-height: 1;
    margin-left: -10px;
}

.clinic-name strong {
    display: block;
    color: #087fd0;
    font-size: 18px;
    font-weight: 800;
}

.clinic-name b {
    display: block;
    color: #f21b91;
    font-size: 17px;
    font-weight: 800;
    margin-top: 2px;
    text-align: left;
}

.clinic-name span {
    display: block;
    color: #087fd0;
    font-size: 10px;
    font-weight: 600;
    margin-top: 3px;
}

.forgot-title {
    position: absolute;
    top: 110px;
    left: 50%;
    margin-left: -270px;
    width: 540px;
    height: 125px;
    object-fit: contain;
}

.forgot-subtitle {
    position: absolute;
    top: 215px;
    left: 50%;
    margin-left: -300px;
    width: 600px;
    text-align: center;
    color: #087fd0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.forgot-card {
    width: 570px;
    position: absolute;
    top: 275px;
    left: 50%;
    margin-left: -285px;
    padding: 18px 28px 22px;
    background: white;
    border: 1px solid #b9e1f3;
    border-radius: 18px;
    box-shadow: 0 8px 30px #d2edf8;
}

.forgot-tabs {
    width: 100%;
    display: flex;
    background: #eaf7fc;
    border-radius: 16px;
    padding: 3px;
}

.forgot-tab {
    width: 50%;
    height: 43px;
    border: none;
    border-radius: 13px;
    background: transparent;
    color: #087fd0;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.forgot-tab img {
    width: 27px;
    height: 27px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
}

.forgot-tab.active {
    background: linear-gradient(90deg, #087fd0, #f21b91);
    color: white;
}

.input-group {
    width: 100%;
    margin-top: 20px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: #087fd0;
    font-size: 13px;
    font-weight: 600;
}

.input-group label img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.input-group input {
    width: 100%;
    height: 43px;
    padding: 0 14px;
    border: 1.5px solid #8ed1f4;
    border-radius: 14px;
    outline: none;
    background: white;
    color: #0875c9;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 13px;
}

.input-group input::placeholder {
    color: #8bb9d8;
}

.input-group input:focus {
    border-color: #087fd0;
}

.send-button {
    width: 100%;
    height: 45px;
    margin-top: 17px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(90deg, #087fd0, #f21b91);
    color: white;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.back-link {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #087fd0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
}

.health-decoration {
    position: absolute;
    left: 9%;
    top: 15%;
    width: 230px;
    height: auto;
}

.features {
    position: absolute;
    right: 3%;
    top: 32%;
    width: 300px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.feature img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-text h3 {
    margin-bottom: 0;
    color: #087fd0;
    font-size: 15px;
    font-weight: 700;
}

.feature-text h3::before {
    content: "♥";
    color: #f21b91;
    font-size: 11px;
    margin-right: 7px;
}

.feature-text p {
    color: #087fd0;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
}

.hassle-decoration {
    position: absolute;
    right: 3%;
    bottom: 10%;
    width: 220px;
    height: auto;
}

@media (max-width: 1200px) {

    .forgot-card {
        width: 550px;
        margin-left: -275px;
    }

    .health-decoration {
        left: 5%;
        width: 200px;
    }

    .features {
        right: 2%;
        width: 250px;
    }

    .hassle-decoration {
        right: 2%;
        width: 180px;
    }
}

@media (max-width: 900px) {

    .forgot-title {
        width: 380px;
        margin-left: -190px;
    }

    .forgot-subtitle {
        width: 500px;
        margin-left: -250px;
        font-size: 12px;
    }

    .forgot-card {
        width: 460px;
        margin-left: -230px;
        top: 295px;
    }

    .health-decoration {
        left: 2%;
        width: 150px;
    }

    .features {
        right: 1%;
        width: 210px;
    }

    .feature img {
        width: 50px;
        height: 50px;
    }

    .feature-text h3 {
        font-size: 11px;
    }

    .feature-text p {
        font-size: 8px;
    }

    .hassle-decoration {
        width: 150px;
    }
}

@media (max-width: 700px) {

    .forgot-page {
        min-height: 100vh;
        overflow-y: auto;
    }

    .back-login {
        position: relative;
        top: auto;
        left: auto;
        margin: 20px auto 0;
    }

    .clinic-brand {
        position: relative;
        top: auto;
        left: auto;
        margin: 15px auto 0;
    }

    .forgot-title {
        position: relative;
        top: auto;
        left: auto;
        margin: 10px auto 0;
        display: block;
        width: 90%;
        height: auto;
    }

    .forgot-subtitle {
        position: relative;
        top: auto;
        left: auto;
        margin: 5px auto 0;
        width: 90%;
        font-size: 11px;
    }

    .forgot-card {
        position: relative;
        top: auto;
        left: auto;
        width: 90%;
        margin: 25px auto 40px;
        padding: 16px 20px 20px;
    }

    .health-decoration,
    .features,
    .hassle-decoration {
        display: none;
    }
}