/* Prop Firm Finder Quiz */

.finder-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    margin-bottom: 8px;
}

/* Progress Bar */
.finder-progress {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    height: 6px;
    margin: 24px 0 8px;
    overflow: hidden;
}

.finder-progress-bar {
    height: 100%;
    background: linear-gradient(100deg, #7A95F8 0%, #6453CA 100%);
    border-radius: 20px;
    transition: width 0.4s ease;
}

.finder-step-counter {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
}

/* Steps */
.finder-step {
    display: none;
}

.finder-step.active {
    display: block;
    animation: finderFadeIn 0.3s ease;
}

@keyframes finderFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card */
.finder-card {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 20px;
}

.finder-question {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.finder-hint {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Options */
.finder-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.finder-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.finder-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
}

.finder-option:hover {
    border-color: rgba(122,149,248,0.5);
    background: rgba(122,149,248,0.08);
}

.finder-option.selected {
    border-color: #7A95F8;
    background: rgba(122,149,248,0.15);
    box-shadow: 0 0 0 1px rgba(122,149,248,0.3);
}

.finder-option-compact {
    justify-content: center;
    padding: 14px 16px;
}

.finder-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(122,149,248,0.15);
    color: #7A95F8;
    font-size: 18px;
}

.finder-option-text {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

.finder-option-desc {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

/* Navigation */
.finder-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.finder-back,
.finder-skip {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.2s;
    font-family: inherit;
}

.finder-back:hover,
.finder-skip:hover {
    color: rgba(255,255,255,0.85);
}

.finder-skip {
    margin-left: auto;
    display: block;
    margin-top: 12px;
}

.finder-nav .finder-skip {
    margin-top: 0;
}

/* Loading */
.finder-loading {
    padding: 60px 0;
}

.finder-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255,255,255,0.15);
    border-top-color: #7A95F8;
    border-radius: 50%;
    margin: 0 auto;
    animation: finderSpin 0.8s linear infinite;
}

@keyframes finderSpin {
    to { transform: rotate(360deg); }
}

/* Results */
.finder-results-header {
    padding: 32px 0 20px;
}

.finder-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.finder-result-card {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    transition: background 0.2s;
    position: relative;
}

.finder-result-card:hover {
    background: rgba(255,255,255,0.12);
}

.finder-result-top {
    border: 1px solid rgba(122,149,248,0.35);
    background: rgba(122,149,248,0.06);
}

/* Badge row */
.finder-result-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.finder-rank {
    font-size: 12px;
    font-weight: 700;
    color: #7A95F8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.finder-match {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

.finder-match-high {
    background: rgba(65,182,24,0.2);
    color: #6fcf3f;
}

.finder-match-med {
    background: rgba(255,193,7,0.2);
    color: #ffd54f;
}

.finder-match-low {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Header */
.finder-result-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.finder-result-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255,255,255,0.9);
    padding: 4px;
}

.finder-result-info {
    flex: 1;
}

.finder-result-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.finder-result-name:hover {
    color: #7A95F8;
    text-decoration: none;
}

.finder-result-meta {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
}

.finder-deal-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

/* Reasons */
.finder-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.finder-reason {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6fcf3f;
    background: rgba(65,182,24,0.1);
    padding: 4px 12px;
    border-radius: 8px;
}

.finder-reason i {
    font-size: 11px;
}

/* Stats Grid */
.finder-result-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.finder-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.finder-stat-label {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.finder-stat-value {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 600;
}

.finder-score {
    color: #ffd54f;
}

/* Actions */
.finder-result-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.finder-view-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(100deg, #7A95F8 0%, #6453CA 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
}

.finder-view-btn:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

.finder-compare-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
}

.finder-compare-btn:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    text-decoration: none;
}

/* Footer */
.finder-results-footer {
    padding: 16px 0 48px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.finder-restart-btn {
    padding: 10px 24px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.finder-restart-btn:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.finder-browse-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.finder-browse-btn:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    text-decoration: none;
}

/* No Results */
.finder-no-results {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
}

.finder-no-results p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .finder-card {
        padding: 20px 16px;
    }

    .finder-question {
        font-size: 18px;
    }

    .finder-option {
        padding: 12px 16px;
        gap: 10px;
    }

    .finder-option-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 16px;
    }

    .finder-option-text {
        font-size: 14px;
    }

    .finder-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .finder-result-header {
        flex-wrap: wrap;
    }

    .finder-result-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .finder-result-actions {
        flex-direction: column;
    }

    .finder-view-btn,
    .finder-compare-btn {
        text-align: center;
    }

    .finder-results-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .finder-restart-btn,
    .finder-browse-btn {
        text-align: center;
    }

    .finder-result-name {
        font-size: 16px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .finder-options-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .finder-result-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}
