/* Shared UnderstandPay header/menu/footer styles */

/* Breadcrumb */
.breadcrumb{
    max-width:1250px;
    margin:0 auto 30px auto;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:15px;
    color:#475569;
    flex-wrap:wrap;
}

.breadcrumb a{
    color:#1d4ed8;
    text-decoration:none;
    font-weight:700;
}

.breadcrumb a:hover{
    text-decoration:underline;
}

.breadcrumb-separator{
    color:#64748b;
}

body.dark .breadcrumb{
    color:#cbd5e1;
}

body.dark .breadcrumb a{
    color:#93c5fd;
}

body.dark .breadcrumb-separator{
    color:#94a3b8;
}


.calculator-menu{
    max-width:1250px;
    margin:0 auto 34px auto;
    background:white;
    border:1px solid #dbeafe;
    border-radius:18px;
    padding:12px;
    display:flex;
    justify-content:flex-start;
    gap:12px;
    flex-wrap:wrap;
    box-shadow:0 8px 22px rgba(0,0,0,0.05);
}

.calculator-menu a{
    display:inline-block;
    padding:11px 18px;
    border-radius:999px;
    text-decoration:none;
    color:#1d4ed8;
    background:#eff6ff;
    font-weight:800;
    font-size:14px;
    transition:0.2s ease;
}

.calculator-menu a:hover{
    background:#dbeafe;
    transform:translateY(-1px);
}

.calculator-menu a.active{
    background:#2563eb;
    color:white;
}

/* Shared Footer */
.site-footer{
    width:100%;
    max-width:1250px;
    margin:50px auto 0 auto;
    padding:30px 20px;
    text-align:center;
    color:#475569;
    font-size:14px;
    clear:both;
}

.footer-links{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:14px;
}

.footer-links a{
    color:#1d4ed8;
    text-decoration:none;
    font-weight:600;
}

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

.site-footer p{
    margin:0;
    text-align:center;

    color:#475569;
}

body.dark .site-footer{
    color:#e2e8f0;
}

body.dark .footer-links a{
    color:#93c5fd;
}


body.dark .calculator-menu{
    background:#1e293b;
    border-color:#334155;
}

body.dark .calculator-menu a{
    background:#172554;
    color:#bfdbfe;
}

body.dark .calculator-menu a:hover{
    background:#1d4ed8;
}

body.dark .calculator-menu a.active{
    background:#60a5fa;
    color:#0f172a;
}

/* Support Panel - matches main index page */
.support-panel-body{
    background:#fff7ed;
    padding:22px;
    margin-top:20px;

    display:flex;
    flex-direction:column;
    align-items:center;
}

.support-panel-body p{
    color:#7c2d12;
    line-height:1.8;
    font-size:15px;
    margin-bottom:20px;
}

.support-button{
    display:inline-block;
    background:#111827;
    color:white;
    padding:14px 24px;
    border-radius:14px;
    text-decoration:none;
    font-weight:800;
    transition:0.2s ease;
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.support-button:hover{
    transform:translateY(-2px);
    background:#1e293b;
}

/* Dark Mode */
body.dark .support-panel-body{
    background:#431407;
}

body.dark .support-panel-body p{
    color:#ffedd5;
}
