/* FICO Credit Score Calculator Styles */
.fcsc-container {
    font-family: 'Arial', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.fcsc-step {
    display: none;
    padding: 20px 30px;
    background: gainsboro;
    border-radius: 20px;
}

.fcsc-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fcsc-splash-content {
    text-align: center;
    padding: 30px 0;
}

.fcsc-splash-content h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.fcsc-splash-content p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.fcsc-form-group {
    margin-bottom: 20px;
}

.fcsc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    position: relative;
}

.fcsc-tooltip {
    display: inline-block;
    cursor: help;
    margin-left: 5px;
    font-size: 0.9em;
}

.fcsc-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    background: #34495e;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 100;
    width: 200px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.fcsc-form-group input,
.fcsc-form-group select {
    width: 80%;
    padding: 5px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    margin-top: 10px;
}

.fcsc-form-group input:focus,
.fcsc-form-group select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.fcsc-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
}

.fcsc-btn:hover {
    background: #2980b9;
}

.fcsc-btn.fcsc-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
}

.fcsc-btn.fcsc-outline:hover {
    background: #3498db;
    color: white;
}

.fcsc-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.fcsc-hidden {
    display: none;
}

.fcsc-otp-note {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: 10px;
}

/* Review Section */
.fcsc-review-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fcsc-review-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.fcsc-review-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.fcsc-review-label {
    font-weight: 600;
    color: #2c3e50;
}

.fcsc-review-value {
    color: #7f8c8d;
}

/* Score Display */
.fcsc-score-container {
    text-align: center;
    margin: 30px 0;
}

.fcsc-score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 10px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    font-weight: bold;
}

.fcsc-score-label {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.fcsc-score-description {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Score Range Bar */
.fcsc-score-range {
    margin: 30px 0;
}

.fcsc-range-bar {
    display: flex;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

.fcsc-range-segment {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.fcsc-range-segment.poor { background: #e74c3c; }
.fcsc-range-segment.fair { background: #f39c12; }
.fcsc-range-segment.good { background: #2ecc71; }
.fcsc-range-segment.very-good { background: #27ae60; }
.fcsc-range-segment.excellent { background: #16a085; }

/* Modal Popup */
.fcsc-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.fcsc-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.fcsc-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.fcsc-close:hover {
    color: #000;
}

.fcsc-score-explanation {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fcsc-score-breakdown {
    margin: 20px 0;
}

.fcsc-score-range h3 {
    margin-bottom: 5px;
    padding-left: 10px;
    border-left: 4px solid;
}

.fcsc-score-range.poor h3 { border-color: #e74c3c; }
.fcsc-score-range.fair h3 { border-color: #f39c12; }
.fcsc-score-range.good h3 { border-color: #2ecc71; }
.fcsc-score-range.very-good h3 { border-color: #27ae60; }
.fcsc-score-range.excellent h3 { border-color: #16a085; }

.fcsc-score-range p {
    margin: 0 0 15px 14px;
    color: #7f8c8d;
}

.fcsc-tips {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.fcsc-tips h3 {
    margin-top: 0;
    color: #2c3e50;
}

.fcsc-tips ul {
    padding-left: 20px;
}

.fcsc-tips li {
    margin-bottom: 8px;
    color: #34495e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fcsc-container {
        padding: 15px;
        margin: 10px;
    }

    .fcsc-nav {
        flex-direction: column;
        gap: 10px;
    }

    .fcsc-btn {
        width: 100%;
    }

    .fcsc-range-segment span {
        display: none;
    }

    .fcsc-score-circle {
        width: 150px;
        height: 150px;
        font-size: 2.5rem;
    }

    .fcsc-review-row {
        flex-direction: column;
    }

    .fcsc-review-value {
        margin-top: 5px;
    }
}

/* Add to the existing CSS */
.fcsc-review-value {
    color: #2c3e50;
    font-weight: 500;
}

.fcsc-review-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.fcsc-review-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.fcsc-review-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.fcsc-review-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.fcsc-review-label {
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.fcsc-review-value {
    color: #34495e;
    flex: 1;
    text-align: right;
}

/* Responsive adjustments for review section */
@media (max-width: 768px) {
    .fcsc-review-row {
        flex-direction: column;
    }

    .fcsc-review-value {
        text-align: left;
        margin-top: 5px;
    }
}