/* ==========================================================================
   Alhaz Jashim Uddin Foundation — Auth & Landing Theme
   Color palette: Deep Forest Emerald (#052e16 / #064e3b / #065f46),
   Primary Emerald (#059669 / #10b981), Soft Mint (#ecfdf5 / #d1fae5),
   Warm Amber/Gold (#fbbf24 / #f59e0b)
   ========================================================================== */

:root {
    --juf-forest-950: #052e16;
    --juf-forest-900: #064e3b;
    --juf-emerald-800: #065f46;
    --juf-emerald-700: #047857;
    --juf-emerald-600: #059669;
    --juf-emerald-500: #10b981;
    --juf-emerald-400: #34d399;
    --juf-mint-200: #a7f3d0;
    --juf-mint-100: #d1fae5;
    --juf-mint-50: #ecfdf5;
    --juf-mint-bg: #f0fdf4;
    --juf-amber-500: #f59e0b;
    --juf-amber-400: #fbbf24;
    --juf-amber-300: #fcd34d;
    --juf-ink-900: #052e16;
    --juf-ink-800: #1e293b;
    --juf-ink-500: #64748b;
    --juf-ink-400: #94a3b8;
}

.juf-auth-body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 40%, #f8fafc 100%);
    color: var(--juf-ink-800);
    -webkit-font-smoothing: antialiased;
}

/* Split Login Layout */
.juf-auth-split {
    min-height: 100vh;
    display: flex;
    width: 100%;
}

.juf-auth-aside {
    display: none;
    width: 46%;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 48px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #052e16 0%, #064e3b 45%, #065f46 100%);
    color: #ffffff;
}

@media (min-width: 992px) {
    .juf-auth-aside {
        display: flex;
    }
}

.juf-auth-aside-glow-1 {
    position: absolute;
    top: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 9999px;
    opacity: 0.30;
    pointer-events: none;
    background: radial-gradient(circle, #34d399 0%, transparent 70%);
}

.juf-auth-aside-glow-2 {
    position: absolute;
    bottom: 40px;
    right: 0;
    width: 288px;
    height: 288px;
    border-radius: 9999px;
    opacity: 0.20;
    pointer-events: none;
    background: radial-gradient(circle, #6ee7b7 0%, transparent 70%);
}

.juf-auth-aside-glow-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 384px;
    height: 384px;
    border-radius: 9999px;
    opacity: 0.10;
    pointer-events: none;
    background: radial-gradient(circle, #a7f3d0 0%, transparent 60%);
}

.juf-auth-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.juf-aside-layer {
    position: relative;
    z-index: 2;
}

.juf-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.juf-brand-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    overflow: hidden;
    border: 2px solid rgba(52, 211, 153, 0.45);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.30);
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.juf-brand-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.9);
}

.juf-brand-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
}

.juf-brand-subtitle {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6ee7b7;
    font-weight: 600;
    margin: 3px 0 0;
}

.juf-bismillah {
    font-family: 'Scheherazade New', serif;
    font-size: 26px;
    line-height: 1.8;
    color: #fcd34d;
    margin: 0 0 14px;
}

.juf-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 16px;
}

.juf-hero-title span {
    color: #fbbf24;
}

.juf-hero-desc {
    color: #a7f3d0;
    font-size: 14px;
    line-height: 1.65;
    max-width: 360px;
    font-weight: 500;
    margin: 0 0 26px;
}

.juf-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 290px;
    margin-bottom: 24px;
}

.juf-stat-tile {
    border-radius: 16px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.juf-stat-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.juf-stat-label {
    font-size: 12px;
    color: #6ee7b7;
    font-weight: 500;
    margin: 4px 0 0;
}

.juf-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.juf-pill-badge {
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(52, 211, 153, 0.32);
    color: #a7f3d0;
    background: rgba(52, 211, 153, 0.12);
}

.juf-aside-copy {
    font-size: 12px;
    color: #34d399;
    font-weight: 500;
}

/* Right Column */
.juf-auth-main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 40%, #f8fafc 100%);
}

@media (min-width: 992px) {
    .juf-auth-main {
        width: 54%;
        padding: 40px 28px;
    }
}

.juf-auth-container {
    width: 100%;
    max-width: 440px;
}

.juf-mobile-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    text-decoration: none !important;
}

@media (min-width: 992px) {
    .juf-mobile-brand {
        display: none;
    }
}

.juf-mobile-brand .juf-brand-logo-wrap {
    width: 44px;
    height: 44px;
    background: #052e16;
    border-color: #047857;
}

.juf-mobile-brand span {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: #052e16;
    font-size: 15px;
}

/* Single-Column Centered Login Mode */
.juf-auth-main-full {
    width: 100% !important;
    min-height: 100vh;
    padding: 36px 20px;
}

.juf-centered-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
    text-decoration: none !important;
}

.juf-centered-brand .juf-brand-logo-wrap {
    width: 50px;
    height: 50px;
    background: #052e16;
    border-color: rgba(5, 150, 105, 0.35);
    box-shadow: 0 8px 20px rgba(5, 46, 22, 0.14);
}

.juf-centered-brand-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.25;
    color: #052e16;
    margin: 0;
}

.juf-centered-brand-subtitle {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #059669;
    font-weight: 700;
    margin: 3px 0 0;
}

.juf-centered-copy {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin: 8px 0 0;
}

.juf-auth-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #d1fae5;
    box-shadow: 0 20px 60px rgba(6, 95, 70, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.juf-card-head {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #ecfdf5;
}

.juf-card-head h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    color: #052e16;
    margin: 0 0 6px;
}

.juf-card-head p {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

/* Form Input System matching Attachment 2 & /login */
.juf-form-group {
    margin-bottom: 18px;
}

.juf-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
}

.juf-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #065f46;
    margin: 0;
}

.juf-switch-link {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    cursor: pointer;
    transition: color 0.15s ease;
    user-select: none;
}

.juf-switch-link:hover {
    color: #047857;
    text-decoration: underline;
}

.juf-input-wrap {
    position: relative;
}

.juf-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background: #ffffff;
    border: 2px solid #d1fae5;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    height: auto;
}

.juf-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.juf-input:hover {
    border-color: #a7f3d0;
}

.juf-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.juf-input.is-invalid {
    border-color: #ef4444;
}

.juf-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
}

.juf-input-password {
    padding-right: 46px;
}

.juf-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 4px 6px;
    color: #64748b;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    transition: color 0.15s ease;
}

.juf-eye-btn:hover {
    color: #059669;
}

.juf-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
}

.juf-show-pass-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

.juf-show-pass-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #059669;
    cursor: pointer;
    margin: 0;
}

.juf-recovery-link {
    color: #059669;
    font-weight: 700;
    text-decoration: none;
}

.juf-recovery-link:hover {
    color: #047857;
    text-decoration: underline;
}

.juf-btn-primary {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.15s ease;
    margin-top: 6px;
}

.juf-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(5, 150, 105, 0.42);
}

.juf-btn-primary:active {
    transform: translateY(0);
}

.juf-divider {
    margin: 22px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.juf-divider-line {
    flex: 1;
    height: 1px;
    background: #e2f5ec;
}

.juf-divider-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6ee7b7;
}

.juf-footer-cta {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

.juf-footer-cta a {
    font-weight: 800;
    color: #059669;
    text-decoration: none;
}

.juf-footer-cta a:hover {
    color: #047857;
    text-decoration: underline;
}

.juf-office-card {
    margin-top: 16px;
    border-radius: 16px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(6, 95, 70, 0.5);
    background: linear-gradient(135deg, #052e16 0%, #064e3b 100%);
    color: #ffffff;
}

.juf-office-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 112px;
    height: 112px;
    border-radius: 9999px;
    pointer-events: none;
    opacity: 0.20;
    background: radial-gradient(circle, #6ee7b7 0%, transparent 70%);
}

.juf-office-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.juf-office-title {
    font-weight: 800;
    font-size: 13px;
    color: #fbbf24;
    margin: 0;
}

.juf-office-hours {
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 500;
    margin: 3px 0 0;
}

.juf-office-closed {
    color: #34d399;
    opacity: 0.75;
    font-size: 11px;
    margin: 3px 0 0;
}

.juf-office-help {
    text-align: right;
}

.juf-office-help small {
    display: block;
    color: #34d399;
    font-size: 11px;
    font-weight: 600;
}

.juf-office-help a {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.juf-office-help a:hover {
    color: #fbbf24;
}

.juf-security-note {
    text-align: center;
    font-size: 11px;
    margin-top: 14px;
    font-weight: 500;
    color: #94a3b8;
}

.invalid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
}

.juf-auth-body .alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
}

.juf-auth-body .alert ul {
    margin: 0;
    padding-left: 18px;
}

.juf-auth-body .alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.juf-auth-body .alert-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.juf-auth-body .alert .close {
    position: absolute;
    right: 12px;
    top: 8px;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.d-none {
    display: none !important;
}

/* ==========================================================================
   Shared Overrides for Landing Auth & Password Pages (.account-section / .card)
   ========================================================================== */

body .account-section {
    background: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 45%, #f8fafc 100%) !important;
    background-image: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 45%, #f8fafc 100%) !important;
    min-height: calc(100vh - 180px);
    padding: 96px 0 64px !important;
}

.account-section .account-wrapper {
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1px solid #d1fae5 !important;
    box-shadow: 0 20px 60px rgba(6, 95, 70, 0.12), 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

.account-section .account-wrapper .title,
.account-section .account-wrapper h4.title {
    font-family: 'Playfair Display', Georgia, serif;
    color: #052e16 !important;
    font-weight: 800;
}

.account-section .account-form .form-group label {
    color: #065f46 !important;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.account-section .account-form input[type="text"],
.account-section .account-form input[type="email"],
.account-section .account-form input[type="password"],
.account-section .account-form input[type="number"],
.account-section .account-form select,
.account-section .account-form textarea,
.account-section .account-form .form-control {
    background: #ffffff !important;
    border: 2px solid #d1fae5 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    padding: 12px 16px !important;
    height: auto !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-section .account-form input:focus,
.account-section .account-form select:focus,
.account-section .account-form textarea:focus,
.account-section .account-form .form-control:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14) !important;
    outline: none !important;
}

.account-section .account-form button[type="submit"],
.account-section .account-form .btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.32) !important;
}

.account-section .account-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
}

.account-section a,
.account-section .text-primary {
    color: #059669 !important;
}

/* Header & Footer inside landing.master */
.header-section {
    background: linear-gradient(135deg, #052e16 0%, #064e3b 100%) !important;
    border-bottom: 1px solid rgba(52, 211, 153, 0.2);
}

.header-section.active {
    background: #064e3b !important;
}

.header-section .header-button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
}

.footer-section {
    background: linear-gradient(155deg, #052e16 0%, #064e3b 100%) !important;
    background-image: linear-gradient(155deg, #052e16 0%, #064e3b 100%) !important;
}

.footer-section::before {
    display: none !important;
    background-image: none !important;
}

.footer-section .copyright a {
    color: #fbbf24 !important;
}

/* Fallback Bootstrap auth views (layouts.app & auth/*) */
#primary.blue4,
body.juf-auth-fallback {
    background: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 40%, #f8fafc 100%) !important;
    min-height: 100vh;
}

#primary .card,
.juf-auth-fallback .card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #d1fae5 !important;
    box-shadow: 0 20px 50px rgba(6, 95, 70, 0.12) !important;
    overflow: hidden;
}

#primary .card-header,
.juf-auth-fallback .card-header {
    background: linear-gradient(135deg, #052e16 0%, #064e3b 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    border-bottom: 2px solid #fbbf24 !important;
    padding: 16px 24px;
}

#primary .form-control,
.juf-auth-fallback .form-control {
    border: 2px solid #d1fae5 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    height: auto !important;
    color: #1e293b !important;
}

#primary .form-control:focus,
.juf-auth-fallback .form-control:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14) !important;
}

#primary .btn-primary,
#primary .btn-success,
.juf-auth-fallback .btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 10px 22px;
    color: #ffffff !important;
}

/* Error Pages (resources/views/errors/error-layout.blade.php) */
.scrollToTop {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35) !important;
}

.juf-error-body {
    margin: 0;
    padding: 0;
    background: #f8fafc;
    color: #0f172a;
    font-family: 'DM Sans', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.error-section.juf-error-section {
    position: relative;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 12% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 88% 90%, rgba(245, 158, 11, 0.07) 0%, transparent 38%),
                linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    overflow: hidden;
}

.juf-error-top-accent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #064e3b 0%, #059669 65%, #f59e0b 100%);
    z-index: 20;
}

.juf-error-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
}

.juf-error-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    text-decoration: none !important;
}

.juf-error-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.juf-error-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.juf-error-brand-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.juf-error-brand-sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.juf-error-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 44px 42px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
    color: #0f172a;
    text-align: left;
}

@media (max-width: 575.98px) {
    .juf-error-card {
        padding: 32px 24px;
        border-radius: 16px;
    }
}

.juf-error-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.juf-error-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc2626;
}

.juf-error-code {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3.5rem, 8vw, 4.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.juf-error-bar {
    width: 52px;
    height: 3.5px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #059669 0%, #f59e0b 100%);
    margin: 18px 0 20px;
}

.juf-error-msg {
    margin: 0 0 30px;
    font-size: 1.0625rem;
    line-height: 1.65;
    font-weight: 500;
    color: #475569;
}

.juf-error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.juf-error-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.juf-error-btn:hover {
    transform: translateY(-1px);
}

.juf-error-btn-primary {
    background: #059669;
    color: #ffffff !important;
    border: 1px solid #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.24);
}

.juf-error-btn-primary:hover {
    background: #047857;
    border-color: #047857;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.32);
}

.juf-error-btn-outline {
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
}

.juf-error-btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
}

.juf-error-foot {
    margin: 22px 0 0;
    text-align: center;
    font-size: 12.5px;
    color: #94a3b8;
}
