/* GauGrih Auth (Sign Up / Login) */
.gg-auth-page {
    background:
        radial-gradient(ellipse at top, rgba(255, 236, 210, 0.55), transparent 55%),
        linear-gradient(180deg, #faf7f2 0%, #fff 45%, #faf7f2 100%);
    padding: 12px 0 48px;
    min-height: 60vh;
}

.gg-auth-card.login-card,
.gg-auth-page .login-card {
    max-width: 820px;
    margin: 0 auto;
    background: #fff !important;
    border: 1px solid #efe6da !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 40px rgba(80, 40, 10, 0.08) !important;
    padding: 28px 28px 32px !important;
    overflow: visible;
}

.gg-auth-form .form-group {
    margin-bottom: 16px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.gg-auth-form .form-group:has(.iti) {
    z-index: 5;
}

.gg-auth-head {
    text-align: center;
    margin-bottom: 28px;
}

.gg-auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffdf9;
    border: 1.5px solid #efe6da;
    color: #c4783a;
    overflow: hidden;
}

.gg-auth-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.gg-auth-title {
    margin: 0 0 6px !important;
    color: #5c2e16 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
}

.gg-auth-subtitle {
    margin: 0;
    color: #8a7a6c;
    font-size: 14px;
    font-weight: 500;
}

.gg-auth-form .form-label {
    color: #5c2e16 !important;
    font-size: 13px;
    font-weight: 700 !important;
    margin-bottom: 6px;
}

.gg-auth-form .input-required-icon {
    color: #c4783a !important;
}

.gg-auth-form .form-control {
    border: 1px solid #efe6da !important;
    border-radius: 10px !important;
    background: #fffdf9 !important;
    color: #5c2e16 !important;
    min-height: 44px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-right: 14px !important;
    box-shadow: none !important;
    font-size: 14px;
    width: 100%;
}

.gg-auth-form .form-control:not(.phone-input-with-country-picker) {
    padding-left: 14px !important;
}

.gg-auth-form .form-control:focus {
    border-color: #c4783a !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(196, 120, 58, 0.12) !important;
}

.gg-auth-form .form-control::placeholder {
    color: #a89888;
}

.gg-auth-form .password-toggle .form-control {
    padding-right: 44px !important;
}

.gg-auth-form .password-toggle-btn {
    color: #8a7a6c;
}

/* Phone (intl-tel-input) — flag + dial code */
.gg-auth-form .iti {
    width: 100% !important;
    display: block !important;
}

.gg-auth-form .iti input.phone-input-with-country-picker,
.gg-auth-form .iti input.iti__tel-input {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    border: 1px solid #efe6da !important;
    border-radius: 10px !important;
    background: #fffdf9 !important;
    color: #5c2e16 !important;
    box-shadow: none !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-right: 12px !important;
}

.gg-auth-form .iti input.phone-input-with-country-picker:focus,
.gg-auth-form .iti input.iti__tel-input:focus {
    border-color: #c4783a !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(196, 120, 58, 0.12) !important;
}

.gg-auth-form .iti__flag-container {
    left: 0 !important;
    right: auto !important;
    z-index: 2;
}

.gg-auth-form .iti__selected-flag {
    height: 100%;
    padding: 0 10px 0 12px !important;
    border-radius: 10px 0 0 10px;
    background: rgba(196, 120, 58, 0.06) !important;
}

.gg-auth-form .iti__selected-flag:hover,
.gg-auth-form .iti__flag-container:hover .iti__selected-flag {
    background: rgba(196, 120, 58, 0.12) !important;
}

.gg-auth-form .iti__selected-dial-code {
    color: #5c2e16 !important;
    font-size: 14px;
    font-weight: 600;
}

.gg-auth-form .iti__arrow {
    border-top-color: #8a7a6c !important;
}

.gg-auth-form .iti__country-list {
    border-radius: 10px !important;
    border: 1px solid #efe6da !important;
    box-shadow: 0 10px 28px rgba(80, 40, 10, 0.12) !important;
    z-index: 30;
    max-height: 220px;
}

.gg-auth-form .iti__dropdown-content {
    border-radius: 10px !important;
    border-color: #efe6da !important;
    overflow: hidden;
    z-index: 30;
}

.gg-auth-form .iti__country.iti__highlight,
.gg-auth-form .iti__country:hover {
    background: #fff7ee !important;
}

[dir="rtl"] .gg-auth-form .iti__flag-container {
    left: auto !important;
    right: 0 !important;
}

[dir="rtl"] .gg-auth-form .iti__selected-flag {
    border-radius: 0 10px 10px 0;
}

.gg-auth-terms .custom-control-label {
    color: #5c4a3c;
    font-size: 13px;
    line-height: 1.45;
}

.gg-auth-terms a,
.gg-auth-form .text-primary {
    color: #c4783a !important;
    font-weight: 600;
}

.gg-auth-terms a:hover {
    color: #5c2e16 !important;
}

.gg-auth-terms .custom-control-input:checked ~ .custom-control-label::before,
.gg-auth-page .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #c4783a !important;
    border-color: #c4783a !important;
}

.gg-auth-actions {
    margin-top: 8px;
}

.gg-auth-btn.btn--primary,
.gg-auth-page #sign-up.btn--primary {
    background: #5c2e16 !important;
    border-color: #5c2e16 !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    min-height: 46px;
    box-shadow: 0 8px 20px rgba(92, 46, 22, 0.2);
    transition: background 0.2s ease, transform 0.15s ease;
}

.gg-auth-btn.btn--primary:hover:not(:disabled),
.gg-auth-page #sign-up.btn--primary:hover:not(:disabled) {
    background: #c4783a !important;
    border-color: #c4783a !important;
    transform: translateY(-1px);
}

.gg-auth-btn.btn--primary:disabled,
.gg-auth-page #sign-up.btn--primary:disabled {
    opacity: 0.55;
    box-shadow: none;
    cursor: not-allowed;
}

.gg-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px auto 8px;
    max-width: 356px;
    color: #8a7a6c;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gg-auth-divider::before,
.gg-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #efe6da;
}

.gg-auth-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #efe6da;
    background: #fffdf9;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.gg-auth-social-btn:hover {
    border-color: #c4783a;
    transform: translateY(-2px);
}

.gg-auth-social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.gg-auth-footer {
    margin-top: 8px;
    color: #8a7a6c;
    font-size: 14px;
}

.gg-auth-footer a {
    color: #c4783a !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gg-auth-footer a:hover {
    color: #5c2e16 !important;
}

.gg-auth-page .default-captcha-container input {
    border: 1px solid #efe6da !important;
    border-radius: 10px !important;
}

/* OTP / Check Verification */
.gg-verify-card {
    max-width: 480px;
}

.gg-verify-timer {
    margin-bottom: 8px;
}

.gg-verify-timer p {
    color: #8a7a6c;
    font-size: 13px;
    font-weight: 600;
}

.gg-verify-timer .verifyTimer,
.gg-verify-timer .verifyCounter {
    color: #c4783a !important;
    font-size: 22px !important;
    font-weight: 800 !important;
}

.gg-otp-fields .otp-field,
.gg-auth-page .otp-form .otp-field {
    width: 46px !important;
    height: 50px !important;
    border: 1.5px solid #efe6da !important;
    border-radius: 10px !important;
    background: #fffdf9 !important;
    color: #5c2e16 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    caret-color: #c4783a;
}

.gg-otp-fields .otp-field:focus,
.gg-auth-page .otp-form .otp-field:focus {
    border-color: #c4783a !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(196, 120, 58, 0.14) !important;
}

.gg-verify-actions .gg-auth-btn {
    min-height: 46px;
}

.gg-auth-btn-outline {
    background: #fff !important;
    border: 1.5px solid #efe6da !important;
    color: #5c2e16 !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    min-height: 46px;
    box-shadow: none !important;
}

.gg-auth-btn-outline:hover,
.gg-auth-btn-outline:focus {
    border-color: #c4783a !important;
    color: #c4783a !important;
    background: #fffdf9 !important;
}

.gg-auth-btn-outline:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.gg-verify-success {
    text-align: center;
    padding: 20px 8px 8px;
}

.gg-verify-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff7ee;
    border: 1.5px solid #f0e0cc;
    color: #c4783a;
    font-size: 28px;
}

.gg-verify-hello {
    display: block;
    color: #8a7a6c;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.gg-verify-success .gg-auth-title {
    font-size: 22px !important;
}

/* ---------- Login page extras ---------- */
.gg-login-card {
    max-width: 920px;
}

.gg-auth-page .gg-auth-form .form-group label,
.gg-auth-page .gg-auth-form .form-label,
.gg-auth-page .custom-control-label {
    color: #5c2e16 !important;
    font-weight: 700 !important;
    font-size: 13px;
}

.gg-auth-page .gg-auth-form .form-control {
    border: 1px solid #efe6da !important;
    border-radius: 10px !important;
    background: #fffdf9 !important;
    color: #5c2e16 !important;
    min-height: 44px;
    box-shadow: none !important;
}

.gg-auth-page .gg-auth-form .form-control:focus {
    border-color: #c4783a !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(196, 120, 58, 0.12) !important;
}

.gg-auth-page .text-primary,
.gg-auth-page a.text-primary,
.gg-auth-page .text-underline {
    color: #c4783a !important;
}

.gg-auth-page a.text-primary:hover {
    color: #5c2e16 !important;
}

.gg-auth-page .btn--primary.gg-auth-btn,
.gg-auth-page .customer-centralize-login-form .btn--primary {
    background: #5c2e16 !important;
    border-color: #5c2e16 !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    min-height: 46px;
    box-shadow: 0 8px 20px rgba(92, 46, 22, 0.2) !important;
}

.gg-auth-page .btn--primary.gg-auth-btn:hover,
.gg-auth-page .customer-centralize-login-form .btn--primary:hover {
    background: #c4783a !important;
    border-color: #c4783a !important;
}

.gg-login-social.social-media-login-btn,
.gg-auth-page .social-media-login-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    min-height: 46px;
    padding: 10px 16px !important;
    border: 1.5px solid #efe6da !important;
    border-radius: 10px !important;
    background: #fffdf9 !important;
    color: #5c2e16 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gg-login-social.social-media-login-btn:hover,
.gg-auth-page .social-media-login-btn:hover {
    border-color: #c4783a !important;
    background: #fff7ee !important;
    color: #c4783a !important;
}

.gg-auth-page .social-media-login-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.gg-login-or.or-sign-in-with,
.gg-auth-page .or-sign-in-with {
    color: #8a7a6c !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gg-login-or.or-sign-in-with span,
.gg-auth-page .or-sign-in-with span {
    background: #fff !important;
    color: #8a7a6c !important;
}

.gg-auth-page .gg-auth-footer .text-black-50 {
    color: #8a7a6c !important;
}

.gg-auth-page .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #c4783a !important;
    border-color: #c4783a !important;
}

@media (max-width: 767.98px) {
    .gg-auth-page {
        padding: 8px 0 36px;
    }

    .gg-auth-card.login-card,
    .gg-auth-page .login-card {
        padding: 20px 16px 24px !important;
        border-radius: 14px !important;
        margin-left: 8px;
        margin-right: 8px;
    }

    .gg-auth-title {
        font-size: 22px !important;
    }

    .gg-otp-fields .otp-field,
    .gg-auth-page .otp-form .otp-field {
        width: 40px !important;
        height: 46px !important;
        font-size: 18px !important;
    }
}
