:root {
    --gd: #1a4d2e;
    /* green dark */
    --gm: #1f6035;
    /* green mid */
    --ga: #2e7d4f;
    /* green accent */
    --gl: #a8d5b5;
    /* green light */
    --gp: #cde8d4;
    /* green pale */
    --wh: #ffffff;
    --bg: #f3f8f5;
    --bdr: #dce9e1;
}

body {
    font-family: "Nunito", sans-serif;
    background: var(--bg);
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ══════════════════════════════════════
   REGISTRATION SPLIT CONTENT
══════════════════════════════════════ */
.reg-main {
    flex: 1;
    display: flex;
}

.reg-left {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.reg-left img {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.reg-right {
    flex: 1;
    background: var(--gp);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.reg-card {
    width: 100%;
    max-width: 400px;
}

.reg-title {
    color: var(--gd);
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    color: var(--gd);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    height: 48px;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 15px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--ga);
}

.password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrap .form-control {
    padding-right: 45px;
}

.toggle-pass {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gd);
    opacity: 0.5;
    transition: opacity 0.2s;
}

.toggle-pass:hover {
    opacity: 1;
}

.toggle-pass svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-reg-main {
    width: 100%;
    height: 48px;
    background: var(--ga);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-reg-main:hover {
    background: var(--gm);
}

.alert-error {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
}

.reg-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    color: var(--gd);
    opacity: 0.8;
}

/* Aligning links with emerald theme */
.reg-footer a {
    color: var(--ga);
    text-decoration: none;
    font-weight: 600;
}

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

/* ══════════════════════════════════════
   RESPONSIVE REFINEMENT
══════════════════════════════════════ */
@media (max-width: 992px) {
    body {
        overflow: auto;
    }

    .reg-main {
        flex-direction: column;
    }

    .reg-left {
        padding: 40px 20px;
        flex: none;
        background: #fff;
    }

    .reg-left img {
        max-width: 180px;
    }

    .reg-right {
        padding: 40px 20px 80px;
        flex: 1;
    }

    /* Top Bar Mobile Layout: Logo, Cart Icon, Login Button only */
    .top-bar-inner {
        position: static;
        padding: 0 20px;
    }

    .top-nav-logo {
        height: 38px;
        width: 38px;
        margin-right: auto;
    }

    .top-nav-logo img {
        height: 24px;
    }

    .steps {
        display: none;
    }

    .phone-lbl {
        display: none;
    }

    .top-right {
        gap: 12px;
    }

    .cart-link span {
        display: none;
    }
}

@media (max-width: 480px) {
    .reg-left {
        padding: 30px 20px;
    }

    .reg-left img {
        max-width: 140px;
    }

    .reg-title {
        font-size: 26px;
    }
}