/* Form Steps Specific Styling */

/* Progress Indicator */
.progress-container {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.step {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-inactive {
    background: #e9ecef;
    color: #6c757d;
}

.step-active {
    background: var(--primary-color);
    color: white;
}

.step-completed {
    background: var(--success-color);
    color: white;
}

.step-connector {
    width: 30px;
    height: 2px;
    background: #e9ecef;
}

/* Form Step Specific Styling */
.option-card {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
    margin-bottom: 10px;
}

.option-card:hover {
    border-color: var(--primary-color);
    background: #f0f8ff;
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: var(--success-color);
    background: #f0fff4;
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.1);
}

.option-radio {
    margin-right: 15px;
    margin-top: 3px;
}

.option-content {
    flex: 1;
}

.option-title {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.option-description {
    color: #666;
    display: block;
    font-size: 0.875em;
}

/* Advanced Parameters Styling */
.parameter-group {
    margin-bottom: 2rem;
}

.parameter-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.parameter-item {
    margin-bottom: 1.5rem;
}

.parameter-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.parameter-help {
    color: var(--text-muted);
    font-size: 0.875em;
    margin-top: 0.25rem;
}

/* Radio Group Styling */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: var(--primary-color);
}

.radio-option.selected {
    border-color: var(--success-color);
    background: #f0fff4;
}

.radio-input {
    margin-right: 8px;
}

.radio-label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

/* Validation Styling */
.is-invalid {
    border-color: var(--danger-color) !important;
}

.is-valid {
    border-color: var(--success-color) !important;
}

.validation-error {
    color: var(--danger-color);
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.validation-success {
    color: var(--success-color);
    font-size: 0.875em;
    margin-top: 0.25rem;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Specific Styling */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.metric-card {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.metric-name {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.metric-value {
    font-size: 1.4em;
    font-weight: bold;
}

.recommendation-card {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f0fff4;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
    margin-bottom: 10px;
}

.recommendation-icon {
    margin-right: 15px;
    font-size: 1.2em;
}

.recommendation-content {
    flex: 1;
}

.recommendation-title {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.recommendation-text {
    color: #666;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .btn {
        display: none;
    }
}