/* Styles communs pour la navigation par onglets */
.nav-tabs-custom {
    border: none;
    gap: 0.5rem;
}

.nav-tabs-custom .nav-item {
    margin: 0;
}

.nav-tabs-custom .nav-link {
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-tabs-custom .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-tabs-custom .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-tabs-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #fff;
    border-radius: 2px 2px 0 0;
}

.nav-tabs-custom .nav-link i {
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .nav-tabs-custom .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .nav-tabs-custom .nav-link span {
        display: none;
    }
}

/* Custom file input styling */
.custom-file-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-file-input-hidden {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
    z-index: -1;
}

.custom-file-button {
    white-space: nowrap;
}

.file-name-display {
    color: #6c757d;
    font-style: italic;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
