/* ===================================
   STYLES SPÉCIFIQUES - PLAN COMPTABLE
   =================================== */

/* Section d'introduction de recherche */
.search-intro {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.search-intro p {
    color: #495057;
    margin-bottom: 10px;
}

/* Formulaire de recherche */
.search-form {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e9ecef;
}

.form-control-lg {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1.1rem;
    padding: 12px 20px;
    transition: all 0.3s;
}

.form-control-lg:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-text {
    margin-top: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

/* En-tête de classe */
.classe-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.classe-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

/* Liste des comptes */
.comptes-list {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
}

/* Item de compte */
.compte-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

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

.compte-numero {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
    min-width: 80px;
}

.compte-separator {
    margin: 0 15px;
    color: #dee2e6;
}

.compte-libelle {
    flex: 1;
    color: #495057;
}

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

/* Carte de classe */
.classe-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.classe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.classe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

/* Badge numéro de classe */
.classe-numero-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.classe-card h5 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.classe-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Section d'information */
.info-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .search-card, .results-card {
        padding: 25px;
    }
    
    .compte-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .compte-numero {
        margin-bottom: 5px;
    }
    
    .compte-separator {
        display: none;
    }
}