﻿/* ---------- FULL PAGE ---------- */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(90deg,#cfe3ff,#2f7dea,#c8d2e0);
}

/* ---------- MAIN ---------- */
.main-wrapper {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* ---------- LEFT PANEL ---------- */
.left-panel {
    background: rgba(255,255,255,0.10);
    min-height: 100vh;
    padding: 20px 32px 40px; /* reduced top padding */
    border-radius: 0 0 35px 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* center content vertically */
}

/* ---------- LOGO ---------- */
.logo {
    width: 58px;
    display: block;
    margin: 0 auto 4px;
}

.brand-name {
    text-align: center;
    font-size: 14px;
    color: #1d3557;
    margin-bottom: 16px;
}

/* ---------- TAB BUTTON ---------- */
.switch-box {
    width: 250px;
    margin: 0 auto 24px; /* added bottom spacing */
    background: #fff;
    border-radius: 35px;
    padding: 4px;
    display: flex;
}

    .switch-box a {
        width: 50%;
        text-align: center;
        text-decoration: none;
        padding: 9px 0;
        font-size: 15px;
        border-radius: 30px;
        color: #3c55ff;
    }

    .switch-box .active {
        background: linear-gradient(90deg,#5467ff,#3349ff);
        color: #fff;
    }

/* ---------- FORM ---------- */
.register-form {
    margin-top: 35px;
}


/* ---------- INPUTS ---------- */
.custom-input,
.custom-select {
    height: 42px;
    border-radius: 28px;
    border: none;
    background: #f4f4f4;
    padding-left: 18px;
    font-size: 13px; /* reduced font */
    color: #333;
}

    .custom-input::placeholder {
        font-size: 13px;
        color: #555;
    }

    .custom-input:focus,
    .custom-select:focus {
        box-shadow: none;
        outline: none;
    }

/* ---------- RED STAR ---------- */
.req {
    color: red;
   /* font-weight: 600;*/
}

/* ---------- PASSWORD ICON ---------- */
.field-icon {
    position: absolute;
    top: 11px;
    right: 16px;
    font-size: 16px;
    color: #888;
    cursor: pointer;
}

/* ---------- PASSWORD TEXT ---------- */
.small-rule {
    font-size: 11px; /* reduced */
    color: #444;
    line-height: 1.3;
    margin-top: 24px;
    margin-bottom: -5px;
}

/* ---------- BUTTON ---------- */
.btn-register {
    width: 155px;
    height: 44px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg,#2636ff,#4060ff);
    color: #fff;
    font-size: 17px; /* reduced */
    font-weight: 600;
    display: block;
    margin: 30px auto 0;
}

/* ---------- RIGHT SIDE ---------- */
.right-panel {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-circle {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 35px rgba(255,255,255,.35);
}

    .doctor-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ---------- MOBILE ---------- */
@media(max-width:991px) {

    .right-panel {
        display: none;
    }

    .left-panel {
        border-radius: 0;
        padding: 22px;
    }

    .switch-box {
        width: 220px;
    }

    .btn-register {
        width: 145px;
    }
}

.validation-error {
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/* OTP Screen */

.otp-container {
    width: 100%;
    max-width: 420px;
    margin: auto;
    text-align: center;
    padding: 20px;
}

.otp-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.otp-subtitle {
    font-size: 15px;
    color: #f2f2f2;
    margin-bottom: 12px;
}

.otp-number {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 28px;
}

.otp-box-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.otp-input {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: none;
    outline: none;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    background: #ffffff;
    color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

    .otp-input:focus {
        border: 2px solid #2f54ff;
    }

.resend-text {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 28px;
}

#resendOtpBtn {
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.verify-btn {
    width: 190px;
    height: 52px;
    border: none;
    border-radius: 35px;
    background: linear-gradient(to right, #2d3fff, #4169ff);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

