/* Couche theme specifique a l'application CareRecrut user */

:root {
    --jc-brand-primary: #007bff;
    --jc-brand-surface: #f8f9fa;
    --jc-card-radius: 10px;
    --jc-card-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 8px 16px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--jc-brand-surface);
}

.sidebar {
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1rem;
}

.sidebar .nav-link:hover {
    color: var(--jc-brand-primary);
    background-color: rgba(0, 123, 255, 0.1);
}

.sidebar .nav-link.active {
    color: var(--jc-brand-primary);
    background-color: rgba(0, 123, 255, 0.1);
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

.footer {
    background-color: var(--jc-brand-surface) !important;
    border-top: 1px solid #dee2e6;
}

.dashboard-card {
    border: none;
    border-radius: var(--jc-card-radius);
    box-shadow: var(--jc-card-shadow);
    transition: transform 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.dashboard-card .card-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.dashboard-card .card-value {
    font-size: 2rem;
    font-weight: bold;
    color: #212529;
    margin-bottom: 0;
}

.dashboard-card .card-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

.user-image {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    vertical-align: middle;
}

.logo-inverse {
    filter: invert(1);
    mix-blend-mode: screen;
}

.ErrorControl {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .15) !important;
}
