/* Global reset */
* {
    box-sizing: border-box;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 1050;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Login box styling */
.login-box {
    background-color: #6fcfff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Custom button */
.btn-black {
    background-color: #000;
    color: #fff;
    border: none;
}

.btn-black:hover {
    background-color: #333;
}

/* ==== DASHBOARD CARDS ==== */
.custom-card {
    background: #f8fbfe;
    border: 1px solid #e3eaf3;
    border-radius: 1rem;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    text-align: center;
    color: #333;
}

.custom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    background-color: #eef5fc;
}

.icon-circle {
    background-color: #f0f4fa;
    color: #447ecf;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.2rem;
}

.icon-color {
    color: #447ecf;
}

/* Card titles */
.custom-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #1f2d3d;
}

/* Carrd box */
.carrd-box {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #447ecf;
}

.carrd-box h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2a2a2a;
}

.carrd-box p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}


 .select2-container--open {
     z-index: 9999 !important;
 }

/* Limite la largeur de la colonne Contacts */
#myTable td:nth-child(3), #myTable th:nth-child(3) {
    max-width: 150px;   /* ou la largeur que tu souhaites */
    white-space: normal; /* pour permettre le retour à la ligne */
    overflow-wrap: break-word; /* pour couper les mots longs */
}
