:root {
    --primary: #174b38;
    --secondary: #f59a32;
    --primary-hover: #103b2c;
    --primary-dark: #103b2c;
    --rgba-primary-1: rgba(23, 75, 56, .1);
    --rgba-primary-2: rgba(23, 75, 56, .2);
    --rgba-primary-3: rgba(23, 75, 56, .3);
    --border-color: #e5e9e3;
    --body-color: #687570;
    --dark: #174b38;
    --title: #182b27;
}

body.auth-flow-page { min-height: 100vh; background: #faf9f5; color: #46534f; font-family: Inter, Arial, sans-serif; }
.auth-flow-page .banner-wrapper { padding: 14px 20px; background: #faf9f5; }
.auth-flow-page .banner-wrapper .inner-wrapper h1,
.auth-flow-page .banner-wrapper .inner-wrapper h2,
.auth-flow-page .banner-wrapper .inner-wrapper h3,
.auth-flow-page .banner-wrapper .inner-wrapper h4,
.auth-flow-page .banner-wrapper .inner-wrapper h5 { color: #182b27; }
.auth-flow-page .banner-wrapper .list-group-item { border: 0; background: transparent; }
.auth-flow-page .site-logo-menu { width: 154px; height: auto; }
.auth-flow-page section.bg-light { min-height: calc(100vh - 82px); height: auto !important; padding: 38px 0; background: #faf9f5 !important; }
.auth-flow-page .auth-shell { max-width: 520px; padding: 0 !important; }
.auth-flow-page .auth-panel { border: 1px solid #e5e9e3; border-radius: 8px; background: #fff; box-shadow: none; }
.auth-flow-page .auth-form-panel { padding: 28px !important; }
.auth-flow-page .auth-kicker { color: #174b38; }
.auth-flow-page .auth-kicker .material-symbols-outlined { color: #174b38; }
.auth-flow-page .auth-title { color: #182b27; font-size: clamp(1.7rem, 4vw, 2rem); }
.auth-flow-page .auth-copy { color: #687570; font-size: 1rem; line-height: 1.55; }
.auth-flow-page .form-label { margin-bottom: .5rem; color: #46534f; font-weight: 400; }
.auth-flow-page .form-control { color: #182b27; }
.auth-flow-page .form-control:focus { border-color: #174b38; box-shadow: 0 0 0 .2rem rgba(23, 75, 56, .14); }
.auth-flow-page .form-control.is-invalid { border-color: #c64738; }
.auth-flow-page .auth-action,
.auth-flow-page .auth-action:hover,
.auth-flow-page .auth-action:focus { min-height: 48px; border: 1px solid #174b38 !important; border-radius: 8px; background: #174b38 !important; color: #fff; font-weight: 700; }
.auth-flow-page .auth-action:hover,
.auth-flow-page .auth-action:focus { border-color: #103b2c !important; background: #103b2c !important; }
.auth-flow-page .auth-helper a { color: #174b38; font-weight: 700; }
.auth-flow-page .auth-helper a:hover { color: #103b2c; }
.auth-flow-page .captcha-code { padding: 0; border: 0; background: transparent; color: #174b38; }
.auth-flow-page .auth-note { border-color: #d8e5d9; background: #e7f1e7; color: #46534f; }
.auth-flow-page .welcome-box { border-color: #e5e9e3; border-radius: 12px; }
.auth-flow-page .welcome-box h5 { color: #174b38; }
.auth-flow-page .welcome-box:hover { border-color: #174b38; background: #fafcf9; }
.auth-flow-page .alert-success { border-color: #cde4d1; background: #edf7ef; color: #205d35; }
.auth-flow-page :focus-visible { outline: 3px solid #f59a32; outline-offset: 3px; }

/* Minimal scenic split layout for login and registration. */
.auth-flow-page { background: #071114; }
.auth-flow-page .banner-wrapper { display: none; }
.auth-flow-page .scenic-auth-section {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 100vh !important;
    height: auto !important;
    padding: 48px 24px !important;
    overflow: hidden;
    background: #071114 url('https://dgmenu.in/img/foodback.png') center / cover no-repeat !important;
}
.auth-flow-page .scenic-auth-section::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 18%, rgba(255, 255, 255, .055), transparent 42%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0, rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 5px),
        linear-gradient(90deg, rgba(2, 8, 10, .55), rgba(2, 8, 10, .73));
    content: '';
}
.auth-flow-page .scenic-auth-section > .container { width: 100%; max-width: 820px; }
.auth-flow-page .scenic-auth-section .auth-shell { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 !important; }
.auth-flow-page .scenic-auth-section .auth-panel {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    min-height: 390px;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.auth-flow-page .scenic-auth-section .auth-panel::before {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    border-right: 1px solid rgba(255, 255, 255, .26);
    background: url('../img/dglogomenu.png') center / min(72%, 250px) auto no-repeat;
    content: '';
}
.auth-flow-page .scenic-auth-section .auth-form-panel {
    width: 100%;
    max-width: 490px;
    justify-self: end;
    padding: 30px 0 30px 44px !important;
}
.auth-flow-page .scenic-auth-section .auth-title {
    margin-bottom: 16px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}
.auth-flow-page .scenic-auth-section .auth-kicker { color: #fff; }
.auth-flow-page .scenic-auth-section .auth-copy { color: rgba(255, 255, 255, .9); }
.auth-flow-page .scenic-auth-section .form-label,
.auth-flow-page .scenic-auth-section .form-check-label,
.auth-flow-page .scenic-auth-section .auth-helper { color: #f3f5f4; }
.auth-flow-page .scenic-auth-section .form-control {
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 4px !important;
    background: rgba(1, 8, 10, .32);
    color: #fff;
}
.auth-flow-page .scenic-auth-section .form-control::placeholder { color: #d7dddc; opacity: 1; }
.auth-flow-page .scenic-auth-section .form-control:focus { border-color: #ffbd3f; box-shadow: 0 0 0 .18rem rgba(255, 189, 63, .18); }
.auth-flow-page .scenic-auth-section .input-group > .form-control { border-right: 0; }
.auth-flow-page .scenic-auth-section .password-toggle {
    min-width: 48px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-left: 0;
    background: rgba(1, 8, 10, .32);
    color: #fff;
}
.auth-flow-page .scenic-auth-section .password-toggle .material-symbols-outlined { font-size: 20px; }
.auth-flow-page .scenic-auth-section .auth-action,
.auth-flow-page .scenic-auth-section .auth-action:hover,
.auth-flow-page .scenic-auth-section .auth-action:focus {
    min-height: 50px;
    border: 0 !important;
    border-radius: 4px;
    background: #ffbd3f !important;
    color: #17130a;
}
.auth-flow-page .scenic-auth-section .auth-helper a { color: #fff; text-decoration: underline !important; text-underline-offset: 2px; }
.auth-flow-page .scenic-auth-section .captcha-code { color: #ffbd3f; }
.auth-flow-page .scenic-auth-section .form-text { color: #f3f5f4; }
.auth-flow-page .scenic-auth-section .invalid-feedback {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    margin-top: .45rem;
    padding: .55rem .7rem;
    border: 1px solid rgba(255, 157, 149, .48);
    border-radius: 4px;
    background: rgba(75, 20, 20, .62);
    color: #fff1ef;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
}
.auth-flow-page .scenic-auth-section .invalid-feedback::before {
    flex: 0 0 auto;
    content: '!';
    display: inline-flex;
    width: 1.15rem;
    height: 1.15rem;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 700;
}
.auth-flow-page .scenic-auth-section .form-control.is-invalid { border-color: #ff9d95; }
.auth-flow-page .scenic-auth-section .alert {
    position: relative;
    margin-bottom: 1.25rem;
    padding: .85rem 3rem .85rem 1rem;
    border-radius: 5px;
    font-size: .95rem;
    line-height: 1.45;
}
.auth-flow-page .scenic-auth-section .alert-danger { border: 1px solid #ff9d95; background: #fff0ef; color: #721c18; }
.auth-flow-page .scenic-auth-section .alert-warning { border: 1px solid #ffd675; background: #fff7df; color: #664600; }
.auth-flow-page .scenic-auth-section .alert-info { border: 1px solid #8dddf0; background: #e9faff; color: #064d60; }
.auth-flow-page .scenic-auth-section .alert-success { border: 1px solid #9fd9ad; background: #eaf8ed; color: #12391e; }
.auth-flow-page .scenic-auth-section .alert .btn-close { position: absolute; top: .7rem; right: .75rem; }
.auth-flow-page .auth-toast-container {
    position: fixed;
    z-index: 1090;
    top: 1.25rem;
    right: 1.25rem;
    width: min(24rem, calc(100vw - 2rem));
    padding: 0;
}
.auth-flow-page .auth-error-toast {
    width: 100%;
    border: 1px solid #ff9d95;
    border-left: 4px solid #c9362b;
    border-radius: 6px;
    background: #fff0ef;
    color: #721c18;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}
.auth-flow-page .auth-error-toast .toast-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.45;
}
.auth-flow-page .auth-error-toast .btn-close { flex: 0 0 auto; margin-top: .1rem; }
.auth-flow-page .scenic-auth-section .alert-success { color: #12391e; }
.auth-flow-page .scenic-auth-section .auth-note { color: #f3f5f4; }
.auth-flow-page .scenic-auth-section .form-check-input { width: 1rem; height: 1rem; border-color: #d7dddc; }
.auth-flow-page .scenic-auth-section .form-check-input:checked { border-color: #ffbd3f; background-color: #ffbd3f; }
.auth-flow-page .scenic-auth-section :focus-visible { outline-color: #fff; outline-offset: 3px; }
.auth-flow-page .scenic-auth-section .captcha-field .form-label { margin-bottom: .45rem; font-size: .88rem; }
.auth-flow-page .scenic-auth-section .captcha-input-group { flex-wrap: nowrap; }
.auth-flow-page .scenic-auth-section .captcha-code {
    display: flex;
    min-width: 92px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-left: 0;
    background: rgba(1, 8, 10, .32);
    color: #ffbd3f;
}
.auth-flow-page .scenic-auth-section .mb-3 { margin-bottom: 1rem !important; }

@media (max-width: 767px) {
    .auth-flow-page .banner-wrapper { padding: 10px 14px; }
    .auth-flow-page .site-logo-menu { width: 128px; }
    .auth-flow-page section.bg-light { min-height: calc(100vh - 65px); padding: 18px 0 28px; }
    .auth-flow-page .auth-shell { max-width: 500px; }
    .auth-flow-page .auth-form-panel { padding: 22px 18px !important; }
    .auth-flow-page .auth-panel { border-radius: 8px; }
    .auth-flow-page .scenic-auth-section { padding: 22px 16px !important; }
    .auth-flow-page .scenic-auth-section .auth-panel { grid-template-columns: 1fr; min-height: 0; }
    .auth-flow-page .scenic-auth-section .auth-panel::before {
        min-height: 105px;
        height: 105px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .22);
        background-size: auto 72px;
    }
    .auth-flow-page .scenic-auth-section .auth-form-panel { max-width: none; padding: 24px 0 8px !important; }
    .auth-flow-page .scenic-auth-section > .container,
    .auth-flow-page .scenic-auth-section .auth-shell { max-width: 480px; }
    .auth-flow-page .auth-toast-container { top: .75rem; right: .75rem; width: calc(100vw - 1.5rem); }
}

@media (prefers-reduced-motion: reduce) {
    .auth-flow-page *, .auth-flow-page *::before, .auth-flow-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
