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

body {
    background: #6b4c66 !important;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

/* ── Left panel ── */
.left-panel {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 40px 40px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.brand-logo img {
    width: 400px;
}

.leaf-icon {
    font-size: 2rem;
    color: #222;
    line-height: 1;
}

.logo-circle {
    width: 72px;
    height: 72px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle span {
    font-family: 'Cormorant Garamond', serif;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
}

.brand-name {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #111;
    text-align: center;
    line-height: 1;
    margin-bottom: 6px;
}

.brand-tagline {
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #555;
    text-align: center;
    margin-bottom: 28px;
}

.brand-image {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
    height: 500px;
    background: #e8e0d8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 4px;
}

/* ── Right panel ── */
.right-panel {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 48px;
}

.login-card {
    width: 100%;
    background: #f7f5f3;
    border-radius: 8px;
    padding: 48px 44px 44px;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: 0.04em;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-control {
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    padding: 13px 16px;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.2s;
    margin-bottom: 24px;
}

.form-control:focus {
    border-color: #7a5c72;
    box-shadow: 0 0 0 3px rgba(122, 92, 114, 0.1);
    outline: none;
}

/* OTP inputs */
.otp-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.otp-group {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}

.otp-input {
    width: 68px;
    height: 60px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: #222;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.otp-input:focus {
    border-color: #7a5c72;
    box-shadow: 0 0 0 3px rgba(122, 92, 114, 0.12);
}

.resend-link {
    font-size: 0.82rem;
    color: #333;
    text-decoration: underline;
    cursor: pointer;
    letter-spacing: 0.02em;
    display: inline-block;
    margin-bottom: 28px;
    background: none;
    border: none;
    padding: 0;
}

.resend-link:hover {
    color: #7a5c72;
}

.btn-login {
    width: 100%;
    background: #6b4c66;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 22px;
}

.btn-login:hover {
    background: #5a3d56;
}

.btn-login:active {
    transform: scale(0.98);
}

.signup-text {
    font-size: 0.85rem;
    color: #444;
    /* text-align: center; */
    letter-spacing: 0.02em;
    margin-top: 6px;
}

.signup-text a {
    color: #6b4c66;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.signup-text a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .left-panel,
    .right-panel {
        width: 100%;
    }

    .left-panel {
        padding: 32px 24px 24px;
    }

    .brand-image {
        height: 260px;
    }

    .right-panel {
        padding: 24px 20px 40px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .otp-input {
        width: 56px;
        height: 52px;
    }
}


/* ── Right Section ── */
.reg-form-col {
    width: 48%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 48px;
    overflow-y: auto;
}

.reg-form-card {
    width: 100%;
    /* max-width: 500px; */
    background: #f7f5f3;
    border-radius: 8px;
    padding: 20px 20px 20px;
}

.reg-form-heading {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: #111;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.04em;
}

.reg-field-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.reg-field-group {
    margin-bottom: 8px;
}

.reg-input-row {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    padding: 0 14px;
    height: 52px;
    transition: border-color 0.2s;
}

.reg-input-row:focus-within {
    border-color: #7a5c72;
    box-shadow: 0 0 0 3px rgba(122, 92, 114, 0.1);
}

.reg-input-row input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    color: #333;
    height: 100%;
}

/* Phone prefix */
.reg-dial-code {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.93rem;
    color: #333;
    font-weight: 500;
    padding-right: 10px;
    border-right: 1.5px solid #e0e0e0;
    margin-right: 10px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.reg-dial-code svg {
    width: 10px;
    height: 10px;
    margin-left: 2px;
}

/* Validation badges */
.reg-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 8px;
}

.reg-badge.reg-valid {
    background: #22c55e;
}

.reg-badge.reg-invalid {
    background: #ef4444;
}

.reg-badge svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Verify Email row */
.reg-verify-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.reg-send-otp {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 1000;
    letter-spacing: 0.05em;
    color: #222;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.reg-send-otp:hover {
    color: #6b4c66;
}

.reg-confirm-btn {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: #eee;
    color: #333;
    border: 1.5px solid #ccc;
    border-radius: 5px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background 0.18s;
    white-space: nowrap;
}

.reg-confirm-btn:hover {
    background: #ddd;
}

/* Dropdown wrapper */
.reg-dropdown-wrap {
    position: relative;
}

.reg-dropdown-wrap select {
    appearance: none;
    width: 100%;
    padding: 0 40px 0 14px;
    height: 52px;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.reg-dropdown-wrap select:focus {
    border-color: #7a5c72;
    box-shadow: 0 0 0 3px rgba(122, 92, 114, 0.1);
}

.reg-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
}

/* Submit button */
.reg-submit-btn {
    width: 100%;
    background: #6b4c66;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 15px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 8px;
    margin-bottom: 20px;
}

.reg-submit-btn:hover {
    background: #5a3d56;
}

.reg-submit-btn:active {
    transform: scale(0.98);
}

.reg-redirect-hint {
    font-size: 0.85rem;
    color: #444;
    text-align: center;
    letter-spacing: 0.02em;
}

.reg-redirect-hint a {
    color: #6b4c66;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.reg-redirect-hint a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .reg-showcase-col,
    .reg-form-col {
        width: 100%;
    }

    .reg-showcase-col {
        padding: 32px 24px 24px;
    }

    .reg-hero-frame {
        height: 260px;
    }

    .reg-form-col {
        padding: 24px 20px 40px;
    }

    .reg-form-card {
        padding: 28px 20px;
    }
}

/* ============================= */
/* PHONE INPUT WRAPPER */
/* ============================= */
.phone-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d6c5d2;
    border-radius: 10px;
    background: #fff;
    overflow: visible !important; /* important */
    position: relative;
}

/* ============================= */
/* COUNTRY CODE BOX */
/* ============================= */
.dial-box {
    border-right: 1px solid #ddd;
    background: #f9f9f9;
}

/* BUTTON */
.dial-btn {
    padding: 10px 12px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    cursor: pointer;
    color: #000;
}

/* ARROW */
.arrow {
    font-size: 10px;
    color: #555;
}

/* ============================= */
/* INPUT FIELD */
/* ============================= */
.phone-wrapper input {
    border: none;
    outline: none;
    padding: 10px;
    width: 100%;
    background: #fff;
    color: #000;
}

/* ============================= */
/* DROPDOWN MENU */
/* ============================= */
.dial-dropdown {
    max-height: 200px;
    overflow-y: auto;
    min-width: 69px;

    background: #fff !important;
    color: #000 !important;

    border: 1px solid #ddd;
    border-radius: 6px;

    z-index: 9999 !important;
    position: absolute !important;
}

/* ============================= */
/* DROPDOWN ITEMS */
/* ============================= */
.dial-dropdown .dropdown-item {
    color: #000 !important;
    padding: 8px 12px;
    font-size: 14px;
}

/* HOVER */
.dial-dropdown .dropdown-item:hover {
    background-color: #f1f1f1 !important;
    color: #000 !important;
}

/* ============================= */
/* FIX BOOTSTRAP CONFLICT */
/* ============================= */
.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ============================= */
/* FIX PARENT OVERFLOW ISSUES */
/* ============================= */
.reg-form-card,
.reg-form-col,
.left-panel {
    overflow: visible !important;
}

/* ============================= */
/* OPTIONAL: SCROLLBAR */
/* ============================= */
.dial-dropdown::-webkit-scrollbar {
    width: 5px;
}

.dial-dropdown::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.phone-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-input-group input {
    padding-left: 80px; /* space for country code */
    padding-right: 40px; /* space for badge */
}

/* Country code inside input */
.dial-box {
    position: absolute;
    left: 10px;
    z-index: 2;
}

.dial-btn {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* Badge inside input right */
.phone-input-group .reg-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Dropdown scroll */
.dial-dropdown {
    max-height: 200px;
    overflow-y: auto;
}

/* ========================================= */
/* 🔥 GLOBAL RESPONSIVE FIX (LOGIN + REGISTER) */
/* ========================================= */

/* ---------- MOBILE (0 - 576px) ---------- */
@media (max-width: 576px) {

    body {
        flex-direction: column;
    }

    /* LEFT PANEL */
    .left-panel {
        width: 100% !important;
        padding: 15px !important;
        text-align: center;
       
    }

    .brand-logo img {
        width: 160px !important;
        height: auto !important;
    }

    .brand-image {
        height: 180px !important;
    }

    /* RIGHT PANEL */
    .right-panel,
    .reg-form-col {
        width: 100% !important;
        padding: 15px !important;
    }

    .login-card,
    .reg-form-card {
        padding: 20px !important;
        border-radius: 10px;
    }

    .login-title,
    .reg-form-heading {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }

    .form-control,
    .reg-input-row input {
        height: 42px !important;
        font-size: 14px !important;
    }

    .btn-login,
    .reg-submit-btn {
        padding: 12px !important;
        font-size: 14px !important;
    }

    .signup-text,
    .reg-redirect-hint {
        text-align: center;
        font-size: 13px;
    }

    /* OTP BOX */
    .otp-group {
        /* justify-content: center; */
        gap: 8px;
    }

    .otp-input {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px;
    }

    /* PHONE INPUT */
    .phone-input-group input {
        padding-left: 65px !important;
    }
}


/* ---------- TABLET (576px - 768px) ---------- */
@media (min-width: 576px) and (max-width: 768px) {

    body {
        flex-direction: column;
    }

    .left-panel,
    .right-panel,
    .reg-form-col {
        width: 100%;
    }

    .brand-logo img {
        width: 220px;
    }

    .brand-image {
        height: 260px;
    }

    .login-card,
    .reg-form-card {
        padding: 30px;
    }

    .otp-input {
        width: 50px;
        height: 50px;
    }
}


/* ---------- SMALL LAPTOP (768px - 992px) ---------- */
@media (min-width: 768px) and (max-width: 992px) {

    .left-panel {
        width: 45%;
        padding: 25px;
    }

    .right-panel,
    .reg-form-col {
        width: 55%;
        padding: 25px;
    }

    .brand-logo img {
        width: 260px;
    }

    .brand-image {
        height: 380px;
    }

    .login-card,
    .reg-form-card {
        padding: 35px;
    }
}


/* ---------- LAPTOP & DESKTOP (992px+) ---------- */
@media (min-width: 992px) {

    .left-panel {
        width: 50%;
    }

    .right-panel,
    .reg-form-col {
        width: 50%;
    }

    .brand-logo img {
        width: 300px;
    }

    .brand-image {
        height: 500px;
    }
}


/* ---------- EXTRA FIXES ---------- */

/* Prevent overflow */
body {
    overflow-x: hidden;
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix long input overflow */
input, select {
    width: 100%;
}