/**
 * Custom CSS for Finance Calculator Theme
 */
/* Calculator Styles */
.calculator-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.calculator-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.calculate-btn {
    width: 100%;
    padding: 12px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calculate-btn:hover {
    background-color: #005d87;
}

.results {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: #555;
}

.result-value {
    font-weight: 700;
    color: #0073aa;
}

/* Calculator Grid Styles */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.calculator-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.calculator-card-header {
    padding: 15px;
    background-color: #0073aa;
    color: white;
}

.calculator-card-header h3 {
    margin: 0;
    font-size: 18px;
}

.calculator-card-body {
    padding: 15px;
}

.calculator-card-description {
    margin-bottom: 15px;
    color: #666;
}

.calculator-card-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.calculator-card-button:hover {
    background-color: #005d87;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-form {
        padding: 15px;
    }
}


/* Additional Styles Beyond style.css */

/* Hero Section */
.hero-section {
    background-color: #f0f7ff;
    padding: 50px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #0066cc;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 30px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: #0066cc;
    text-decoration: none;
}

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

/* Category Description */
.category-description {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

/* Example Section */
.example {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.example h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Calculator Form Enhancements */
.calculator-form {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.calculator-form:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.calculator-form button {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 12px 30px;
}

/* Results Section Enhancements */
.results-section {
    border-left: 4px solid #0066cc;
}

.results-section h3 {
    color: #0066cc;
}

.result-item {
    padding: 15px 0;
}

.result-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0066cc;
}

/* FAQ Enhancements */
.faq-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.faq-answer {
    color: #555;
}

/* Entry Meta */
.entry-meta {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.calculator-category a {
    color: #0066cc;
    text-decoration: none;
}

.calculator-category a:hover {
    text-decoration: underline;
}

/* Content Section Enhancements */
.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    position: relative;
    padding-bottom: 15px;
}

.content-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #0066cc;
}

/* Related Calculators Section */
.related-calculators {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 60px;
}

.related-calculators h3 {
    margin-bottom: 30px;
}

/* Search Bar Enhancement */
.search-bar input[type="text"] {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.search-bar input[type="text"]:focus {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: #0066cc;
    outline: none;
}

/* Grid Enhancements */
.grid {
    margin-bottom: 60px;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 20px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .calculator-form {
        padding: 20px;
    }
    
    .related-calculators {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .calculator-form button {
        width: 100%;
    }
    
    .breadcrumbs {
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    .search-bar,
    .breadcrumbs,
    .related-calculators,
    .calculator-form button {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .calculator-form,
    .results-section {
        border: 1px solid #ddd;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .results-section {
        display: block !important;
    }
}

