:root {
    --gh-green: #04b074;
    --gh-green-dark: #038a5a;
    --gh-green-deep: #026b46;
    --gh-brown: #b05516;
    --gh-brown-dark: #8a4211;
    --gh-cream: #f4faf7;
    --gh-ink: #1b2b24;
}

html, body {
    height: 100%;
}

body.gh-auth {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--gh-ink);
    background: var(--gh-cream);
    min-height: 100vh;
}

.gh-auth-brand {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.16), transparent 42%),
        radial-gradient(circle at 88% 78%, rgba(176, 85, 22, 0.35), transparent 46%),
        linear-gradient(165deg, #04b074 0%, #038a5a 48%, #026b46 100%);
    color: #fff;
    min-height: 280px;
}

.gh-auth-brand::before,
.gh-auth-brand::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.gh-auth-brand::before {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -160px;
    background: rgba(255, 255, 255, 0.08);
}

.gh-auth-brand::after {
    width: 280px;
    height: 280px;
    left: -90px;
    bottom: -110px;
    background: rgba(176, 85, 22, 0.22);
}

.gh-auth-brand-inner {
    position: relative;
    z-index: 1;
}

.gh-mark {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.gh-kicker {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
}

.gh-feature {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 14px 16px;
    backdrop-filter: blur(6px);
}

.gh-feature i {
    color: #ffd7b0;
}

.gh-auth-panel {
    background:
        radial-gradient(circle at top right, rgba(4, 176, 116, 0.08), transparent 38%),
        var(--gh-cream);
}

.gh-auth-card {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(2, 48, 32, 0.08);
}

.gh-auth-card .form-control,
.gh-auth-card .input-group-text {
    border-color: #d7e5de;
    background: #fff;
}

.gh-auth-card .form-control {
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
}

.gh-auth-card .input-group .form-control {
    border-radius: 0;
}

.gh-auth-card .input-group-text {
    border-radius: 12px 0 0 12px;
    color: var(--gh-green);
}

.gh-auth-card .input-group > .btn {
    border-radius: 0 12px 12px 0;
    border-color: #d7e5de;
}

.gh-auth-card .input-group > :last-child.form-control {
    border-radius: 0 12px 12px 0;
}

.gh-auth-card .form-control:focus {
    border-color: var(--gh-green);
    box-shadow: 0 0 0 0.25rem rgba(4, 176, 116, 0.18);
}

.gh-auth-card .input-group:focus-within .input-group-text {
    border-color: var(--gh-green);
    color: var(--gh-green-dark);
}

.btn-gh {
    background: linear-gradient(135deg, var(--gh-green), var(--gh-green-dark));
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.btn-gh:hover,
.btn-gh:focus {
    background: linear-gradient(135deg, #05c281, var(--gh-green-deep));
    color: #fff;
}

.btn-gh-outline {
    border: 1px solid #cfe6db;
    color: var(--gh-green-dark);
    background: #fff;
}

.gh-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #e8f7f1;
    color: var(--gh-green-dark);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.gh-chip.brown {
    background: #f8ece3;
    color: var(--gh-brown-dark);
}

.gh-brown {
    color: var(--gh-brown);
}

.password-strength {
    height: 6px;
    background: #e4eee9;
    border-radius: 99px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

.password-strength-bar.weak { width: 33%; background: #e74c3c; }
.password-strength-bar.medium { width: 66%; background: var(--gh-brown); }
.password-strength-bar.strong { width: 100%; background: var(--gh-green); }

@media (max-width: 991.98px) {
    .gh-auth-brand {
        min-height: auto;
        padding-bottom: 8px;
    }

    .gh-auth-brand .display-5 {
        font-size: 1.8rem;
    }

    .gh-auth-card .card-body {
        padding: 1.25rem !important;
    }
}

@media (min-width: 992px) {
    .gh-auth-brand {
        min-height: 100vh;
    }
}
