:root {
    --primary: #0052ff;
    --bg: #f8fafc;
    --text: #1e293b;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 20px;
}

.danger-btn {
     width: 40%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    background: #ff4d4d;
    color: white;
    border: none;
    cursor: pointer;
}

.calculator-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.sidebar {
    flex: 1;
    border-right: 1px solid #e2e8f0;
    padding-right: 30px;
    min-width: 300px;
}

.currency-toggle {
    display: flex;
    margin-bottom: 25px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
}

.toggle-btn {
    flex: 1;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.toggle-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #64748b;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
}

.input-wrapper input {
    border: none;
    padding: 10px;
    width: 100%;
    outline: none;
    font-size: 1rem;
}

.symbol {
    font-weight: bold;
    color: #94a3b8;
}

.main-content {
    flex: 2;
    padding-left: 10px;
}

.header-box {
    background: #f0f7ff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.header-box h1 {
    margin: 10px 0 0;
    color: var(--primary);
    font-size: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.stat-card p {
    margin: 5px 0 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.chart-container {
    position: relative;
    height: 350px;
    width: 100%;
}

.btn-pdf {
    width: 50%;
    padding: 14px;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

/* SEO Footer Section Styling */
.seo-content-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #334155;
    line-height: 1.8;
    border-top: 1px solid #e2e8f0;
}

.seo-content-section h2 {
    color: #0f172a;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.seo-content-section h3 {
    color: #1e293b;
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
    border-left: 4px solid #0052ff; /* Accents the headers with your brand blue */
    padding-left: 15px;
}

.seo-content-section p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #475569;
}

.seo-content-section ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style-type: none;
}

.seo-content-section li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.seo-content-section li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0052ff;
    font-weight: bold;
}

.seo-content-section strong {
    color: #0f172a;
    font-weight: 600;
}

.seo-content-section .disclaimer {
    margin-top: 50px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    font-size: 0.9rem;
    font-style: italic;
    color: #64748b;
    border: 1px solid #f1f5f9;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .seo-content-section {
        margin: 30px 15px;
        padding: 20px 10px;
    }
    
    .seo-content-section h2 {
        font-size: 1.5rem;
    }
}

/* Hide SEO content when printing to PDF */
@media print {
    .seo-content-section {
        display: none !important;
    }
}