/* 
 * Styles partagés du frontend pour IJ Orientation
 */

/* Conteneur principal */
.ij-module-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

/* Navigation par onglets ronds / pill */
.ij-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}

.ij-tab {
    padding: 12px 24px;
    border-radius: 30px;
    background: #f0f2f5;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.ij-tab:hover {
    background: #e2e8f0;
    color: #2d3748;
}

.ij-tab.active {
    background: #FF5A5F;
    color: white;
    box-shadow: 0 4px 6px rgba(255, 90, 95, 0.2);
}

/* Sous-onglets (pour Mentorat, etc.) */
.ij-tab-group {
    display: flex;
    align-items: center;
    background: #f0f2f5;
    border-radius: 30px;
    padding: 4px;
    position: relative;
}

.ij-tab-group-title {
    padding: 8px 16px;
    font-weight: 600;
    color: #FF5A5F;
    border-right: 1px solid #ddd;
    margin-right: 4px;
}

.ij-tab-sub {
    padding: 8px 16px;
    border-radius: 20px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ij-tab-sub:hover {
    background: #e2e8f0;
}

.ij-tab-sub.active {
    background: #FF5A5F;
    color: white;
}

/* Utilities */
.ij-no-results {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    color: #666;
}

.ij-error-msg {
    padding: 15px 20px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #dc2626;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ij-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.ij-btn-primary {
    background: #FF5A5F;
    color: white;
}

.ij-btn-primary:hover {
    background: #e0484d;
    color: white;
}

.ij-btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}
