/* ===================================
   STYLES SPÉCIFIQUES - SALAIRE BRUT/NET
   =================================== */

/* Grille des inputs */
.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* Carte d'input */
.input-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.input-card:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.input-card h3 {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-card i {
    color: #667eea;
}

/* Classe pour le formatage des nombres avec espaces */
.input {
    text-align: right;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Flèches de conversion */
.conversion-arrows {
    text-align: center;
    margin: 20px 0;
    font-size: 2rem;
    color: #667eea;
}

/* Section résultats */
.results-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

/* Grille de résultats */
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.result-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
}

/* Section détails */
.details-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid #e9ecef;
}

.details-section h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

/* Ligne de détail */
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #495057;
}

.detail-value {
    font-weight: 600;
    color: #333;
}

.detail-value.negative {
    color: #dc3545;
}

.detail-value.positive {
    color: #28a745;
}

/* Radio buttons personnalisés */
.form-check {
    margin-bottom: 10px;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    margin-left: 5px;
    cursor: pointer;
}

/* Slider styles (pour noUiSlider) */
#worktimeKeypress,
#sourceKeypress {
    margin: 15px 0;
}

.noUi-target {
    background: #f0f0f0;
    border-radius: 10px;
    border: none;
    box-shadow: none;
    height: 10px;
}

.noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    cursor: pointer;
    top: -5px;
    right: -10px;
}

.noUi-connect {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .input-grid {
        grid-template-columns: 1fr;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
    }
    
    .input {
        font-size: 1rem;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
}