/* ===========================================
   Credit Card Payoff Calculator - Tool Specific Styles
   =========================================== */

/* Tool Layout */
.ccp-box {
    max-width: 850px;
    margin: 0 auto;
}

/* Controls and Inputs */
.ccp-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: #fff7ed; /* Light Orange/Peach BG */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #fed7aa;
    margin-bottom: 30px;
}

.ccp-input-group {
    display: flex;
    flex-direction: column;
}

.ccp-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9a3412; /* Darker Orange/Brown Label */
    margin-bottom: 6px;
}

.ccp-input, .ccp-select {
    padding: 10px;
    border: 1px solid #fdba74; /* Medium Orange Border */
    border-radius: 6px;
    font-size: 1rem;
    color: #1f2937;
    width: 100%;
}

/* Calculate Button */
.ccp-btn-calc {
    grid-column: 1 / -1; /* Spans all columns */
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #f97316; /* Primary Orange Button */
    color: white;
    transition: background 0.2s;
    margin-top: 10px;
}
.ccp-btn-calc:hover {
    background: #ea580c;
}

/* --- Results Section --- */

.ccp-results-section {
    margin-top: 30px;
}

.ccp-summary-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ccp-card {
    flex: 1;
    min-width: 200px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.ccp-card-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 8px;
}

.ccp-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
}

.ccp-value.date {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f97316; /* Orange for Date */
}
.ccp-value.interest {
    color: #dc2626; /* Red for Interest */
}
.ccp-value.months {
    color: #059669; /* Green for Time/Savings */
}

/* --- Responsive Styling --- */
@media (max-width: 600px) {
    .ccp-controls {
        grid-template-columns: 1fr;
    }
    .ccp-summary-cards {
        flex-direction: column;
    }
    .ccp-card {
        min-width: 100%;
    }
}