/**
 * How Long To Repay Calculator CSS
 */

/* Calculator specific styles */
.how-long-to-repay-calculator {
    /* Inherits common styles from lcs-calculator */
    position: relative;
}

.how-long-to-repay-calculator::before {
    content: '⏰';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 24px;
    opacity: 0.1;
    z-index: 0;
}

/* Results section customization */
.how-long-to-repay-calculator .lcs-results-section {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 6px solid #0073aa;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 115, 170, 0.12);
    position: relative;
    overflow: hidden;
}

.how-long-to-repay-calculator .lcs-results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0073aa, #005f8b);
}

.how-long-to-repay-calculator .lcs-result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.how-long-to-repay-calculator .lcs-result-item {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.how-long-to-repay-calculator .lcs-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.how-long-to-repay-calculator .lcs-result-item .lcs-result-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.how-long-to-repay-calculator .lcs-result-item .lcs-result-value {
    font-size: 24px;
    font-weight: 700;
    color: #0073aa;
    text-shadow: 0 1px 2px rgba(0, 115, 170, 0.1);
}

/* Chart customization */
.how-long-to-repay-calculator .lcs-chart-wrapper {
    height: 320px;
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
}

/* Disclaimer styling */
.how-long-to-repay-calculator .lcs-disclaimer {
    margin-top: 20px;
    padding: 10px;
    border-top: 1px solid #eee;
}

.how-long-to-repay-calculator .lcs-note {
    font-size: 12px;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

/* Print styles */
@media print {
    .how-long-to-repay-calculator {
        box-shadow: none;
        padding: 0;
    }
    
    .how-long-to-repay-calculator .lcs-btn-group {
        display: none;
    }
    
    .how-long-to-repay-calculator .lcs-chart-wrapper {
        page-break-inside: avoid;
    }
    
    .how-long-to-repay-calculator .lcs-modal {
        display: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .how-long-to-repay-calculator .lcs-result-details {
        flex-direction: column;
    }
    
    .how-long-to-repay-calculator .lcs-result-item {
        min-width: 100%;
    }
    
    .how-long-to-repay-calculator .lcs-calculator-container {
        flex-direction: column;
    }
}
