@font-face {font-family: 'Tanha';src: url('../fonts/Tanha.woff') format('woff'), url('../fonts/Tanha.woff2') format('woff2');
font-weight: normal;font-style: normal;}
body, p, pre, blockquote, a, h1, h2, h3, h4, h5, input, button, span { font-family: 'Tanha', Tahoma, sans-serif !important;}
.top-iframe { height: 175px; width: 99%; border: none;}
.section-box h2,.percent-guide h2,.percent-guide h3 {color: #084298 !important;}
.form-control:focus,.form-select:focus {border-color: #0a58ca;box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.2);}
:root {--primary-color: #0d6efd;--primary-hover: #0b5ed7;--bg-light: #f8f9fa;--card-shadow: 0 10px 25px rgba(0,0,0,0.05);}
body {background-color: #f4f6f9;color: #333;min-height: 100vh;display: flex;flex-direction: column;}
.contain-wrap { display: flex; flex-direction: column; min-height: 100vh;}
.top-iframe { height: 175px; width: 100%; border: none;}
.bottom-iframe { height: 175px; width: 100%;border: none;margin-top: auto;}
.calculator-card {background: #ffffff;border: none;border-radius: 16px;box-shadow: var(--card-shadow);transition: all 0.3s ease;}
.card-header-custom {background: linear-gradient(135deg, #0d6efd, #0a58ca);
color: white;border-radius: 16px 16px 0 0 !important;padding: 1.25rem 1.5rem;}
.section-box {background-color: var(--bg-light);border: 1px solid #e9ecef;border-radius: 12px;
padding: 1.25rem;margin-bottom: 1.25rem;transition: border-color 0.2s;}
.section-box:hover {border-color: #ced4da;}
.form-control {border-radius: 8px;padding: 0.6rem 0.75rem;font-weight: 500;border: 1px solid #ced4da;}
.form-control:focus {box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);}
.result-box {background-color: #e7f1ff;border: 1px solid #b6d4fe;color: #084298;
font-weight: 700;font-size: 1.1rem;}
.btn-calc {border-radius: 8px;padding: 0.6rem 1.25rem;font-weight: 600;transition: transform 0.1s ease, box-shadow 0.2s;}
.btn-calc:active {transform: scale(0.98);}
.quick-links a {color: #495057;text-decoration: none;transition: color 0.2s;font-size: 0.9rem;}
.quick-links a:hover { color: var(--primary-color); }