/* Reset du padding et des marges pour le layout horizontal */
body {
    padding-top: 0 !important;
}

#page-topbar {
    top: 0 !important;
}

.main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-content {
    margin-top: 30px !important;
}

#app-menu.navbar-menu {
    top: 0 !important;
}

[data-layout=horizontal] .navbar-menu {
    top: 70px !important;
}

/* Styles de la page-content */
.page-content {
    padding: 70px 12px 60px !important;
    margin-top: 70px;
}

.page-title-box {
    padding: 0 0 20px;
}

.page-title-box .breadcrumb {
    background-color: transparent;
    padding: 0;
}

.page-title-box h4 {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--vz-heading-color);
}

/* Container et espacement */
.container-fluid {
    padding-right: var(--vz-gutter-x, 1rem);
    padding-left: var(--vz-gutter-x, 1rem);
}

/* Responsive pour page-content */
@media (min-width: 768px) {
    .page-content {
        padding: 120px 24px 60px !important;
    }
    
    .page-title-box h4 {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .page-content {
        margin-top: 50px;
        padding: 50px 12px 60px !important;
    }
    
    .page-title-box {
        padding: 0 0 15px;
    }
}

/* Styles pour les cartes de statistiques */
.card-stats {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-stats:hover {
    transform: translateY(-5px);
}

.stats-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.stats-icon i {
    font-size: 24px;
}

.animation-effect-1,
.animation-effect-2,
.animation-effect-3 {
    position: absolute;
    opacity: 0.1;
    font-size: 40px;
}

.animation-effect-1 {
    bottom: 10px;
    right: 10px;
    transform: rotate(-15deg);
}

.animation-effect-2 {
    bottom: 40px;
    right: 40px;
    transform: rotate(15deg);
}

.animation-effect-3 {
    bottom: 70px;
    right: 70px;
    transform: rotate(-30deg);
}

/* Styles pour les tableaux */
.table-card {
    border-radius: 0.25rem;
}

.avatar-xs {
    width: 32px;
    height: 32px;
}

.avatar-title {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Styles pour les filtres et la pagination */
.pagination-wrap {
    margin-top: 1rem;
}

.filter-dropdown {
    min-width: 200px;
}

/* Styles pour les badges et les icônes */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

.icon-sm {
    font-size: 0.875rem;
}

.icon-md {
    font-size: 1.25rem;
}

/* Styles pour les graphiques */
.chart-container {
    height: 350px;
    width: 100%;
}

/* Styles pour les cartes animées */
.card-animate {
    position: relative;
    border: none;
    border-radius: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 3px, rgba(0, 0, 0, 0.05) 0px 8px 15px -5px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-animate .card-body {
    padding: 1.25rem;
    position: relative;
}

.card-animate .stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 12px;
    margin-right: 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.card-animate .stat-icon-secondary {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.card-animate .text-muted {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.card-animate .ff-secondary {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0.25rem;
}

/* Thèmes des cartes */
.card-animate.theme-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.card-animate.theme-turquoise {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.card-animate.theme-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.card-animate.theme-green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.card-animate [class*="theme-"] .stat-icon,
.card-animate [class*="theme-"] .stat-icon-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.card-animate [class*="theme-"] .text-muted {
    color: rgba(255, 255, 255, 0.8);
}

.card-animate [class*="theme-"] .ff-secondary {
    color: #ffffff;
}

/* Effets d'animation */
.card-animate:hover {
    transform: translateY(-3px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px, rgba(0, 0, 0, 0.1) 0px 12px 20px -5px;
}

.card-animate:hover .stat-icon-secondary {
    opacity: 0.8;
    transform: scale(1.05);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-animate {
    animation: slideIn 0.3s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .card-animate .card-body {
        padding: 1rem;
    }
    .card-animate .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    .card-animate .ff-secondary {
        font-size: 1.25rem;
    }
}

/* Style par défaut pour les labels des formulaires */
.form-label {
    font-size: 0.875rem;
    color: #6c757d; /* Couleur grise */
    margin-bottom: 0.5rem;
}

/* Style des titres de section */
.card-title {
    color: #6c757d; /* Gris Bootstrap */
    font-size: 1.1rem;
    font-weight: 500;
}

/* Style des messages d'aide */
.help-text {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d; /* Gris Bootstrap */
}

.help-text i {
    margin-right: 0.5rem;
    color: #0d6efd; /* Bleu Bootstrap */
}

/* Style des messages d'erreur */
.form-error-message {
    display: flex;
    align-items: center;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545; /* Rouge Bootstrap */
}

.form-error-message i {
    margin-right: 0.5rem;
    color: #dc3545; /* Rouge Bootstrap */
} 