/* Importation des autres fichiers CSS */
@import url('style.css');
@import url('responsive.css');
@import url('animations.css');

/* Styles supplémentaires spécifiques au projet */

/* Custom scrollbar pour le dashboard */
.dashboard-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #f1f1f1;
}

.dashboard-scroll::-webkit-scrollbar {
    width: 6px;
}

.dashboard-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.dashboard-scroll::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.dashboard-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Styles pour les cartes de crédit virtuelles */
.credit-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.credit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

.credit-card .card-number {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin: 1rem 0;
}

.credit-card .card-holder {
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0.8;
}

.credit-card .card-expiry {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 0.9rem;
}

/* Styles pour le formulaire multi-step */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    transform: translateY(-50%);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: var(--secondary-color);
    color: white;
}

.step-item.completed .step-circle {
    background: var(--success-color);
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.step-item.active .step-label {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Styles pour les badges de statut */
.status-badge {
    padding: 0.35em 0.65em;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-active {
    background-color: #d1edff;
    color: #004085;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.status-completed {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Styles pour les tableaux du dashboard */
.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

/* Styles pour les modales */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Styles pour les icônes */
.icon-lg {
    font-size: 3rem;
}

.icon-xl {
    font-size: 4rem;
}

/* Styles pour les gradients de fond */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color), #229954);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, var(--danger-color), #c0392b);
}

/* Styles pour les ombres portées */
.shadow-soft {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.shadow-medium {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.shadow-strong {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

/* Styles pour les bordures */
.border-left-primary {
    border-left: 4px solid var(--secondary-color);
}

.border-left-success {
    border-left: 4px solid var(--success-color);
}

.border-left-warning {
    border-left: 4px solid var(--warning-color);
}

.border-left-danger {
    border-left: 4px solid var(--danger-color);
}

/* Styles pour les séparateurs */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
    margin: 2rem 0;
}

/* Styles pour les avatars */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-transform: uppercase;
}

.avatar-lg {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.avatar-xl {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}