/*
Theme Name: Multipli
Theme URI: https://www.kestrelco.com/
Description: A custom theme created by The Kestrel Co for Multipli Credit Union, based on Kadence Pro.
Author: The Kestrel Co
Author URI: https://www.kestrelco.com/
Template: kadence
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: multipli
Requires at least: 6.3
Tested up to: 6.8.2
Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/

/* Import parent theme styles */
@import url("../kadence/style.css");

/* Custom styles for Multipli Credit Union can be added below */

/* Calculator Styles */
.multipli-calculator-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.calculator-inputs {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculator-inputs h3 {
    color: #004F71;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid #67B346;
    padding-bottom: 0.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #67B346;
    box-shadow: 0 0 0 3px rgba(103, 179, 70, 0.1);
}

.calculate-btn,
.secondary-btn {
    background: #67B346;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    margin-top: 1rem;
}

.calculate-btn:hover,
.secondary-btn:hover {
    background: #5a9e3d;
    transform: translateY(-2px);
}

.secondary-btn {
    background: #6c757d;
    margin-top: 0.5rem;
}

.secondary-btn:hover {
    background: #5a6268;
}

.calculator-results {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #67B346;
}

.calculator-results h3 {
    color: #004F71;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

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

.result-item .value {
    font-weight: 700;
    color: #67B346;
    font-size: 1.1rem;
}

.disclaimer {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

.disclaimer p {
    margin: 0;
    font-size: 0.9rem;
    color: #856404;
}

/* Amortization Table Styles */
.amortization-table-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.amortization-table-container h3 {
    color: #004F71;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.table-wrapper {
    overflow-x: auto;
}

.amortization-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.amortization-table th {
    background: #004F71;
    color: white;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
}

.amortization-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.amortization-table tr:nth-child(even) {
    background: #f8f9fa;
}

.amortization-table tr:hover {
    background: #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .multipli-calculator-container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .calculator-inputs,
    .calculator-results {
        padding: 1.5rem;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .amortization-table {
        font-size: 0.8rem;
    }
    
    .amortization-table th,
    .amortization-table td {
        padding: 0.5rem 0.25rem;
    }
}
