/* css/components/modal.css */

/* Forms & Inputs */
.config-card {
    background-color: var(--clr-bg-secondary);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--clr-text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--clr-border);
    border-radius: var(--border-radius);
    background-color: var(--clr-bg-primary);
    color: var(--clr-text-main);
    transition: border-color var(--transition-speed);
    font-family: inherit;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--clr-primary);
}

.text-center { text-align: center; }

/* Results specific styling */
.results-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-text-main);
    background: conic-gradient(var(--clr-success) 0%, var(--clr-border) 0%);
    position: relative;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: background 1s ease-out;
}

.score-circle::before {
    content: "";
    position: absolute;
    inset: 12px;
    background-color: var(--clr-bg-secondary);
    border-radius: 50%;
    z-index: 1;
}

.score-circle span {
    z-index: 2;
}

/* Modifier classes applied via JS */
.score-circle.fail {
    background: conic-gradient(var(--clr-danger) 0%, var(--clr-border) 0%);
}

.score-details {
    font-size: 1.2rem;
    text-align: center;
}

.progressive-review-container {
    background-color: rgba(220, 53, 69, 0.05);
    border: 1px solid var(--clr-danger);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}