/* Police moderne */
body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: #f0f2f7;
}

/* -------- THEMES -------- */
.theme-blue .section-title,
.theme-blue .custom-table thead {
    background: #0d6efd !important;
}

.theme-green .section-title,
.theme-green .custom-table thead {
    background: #198754 !important;
}

.theme-purple .section-title,
.theme-purple .custom-table thead {
    background: #6f42c1 !important;
}

/* Sections */
.my-section {
    margin-bottom: 50px;
}

.section-title {
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0px 2px 7px rgba(0,0,0,0.15);
}

/* Table design */
.card-style {
    padding: 0;
    border-radius: 12px;
    background: white;
}

.custom-table {
    border-radius: 10px;
    overflow: hidden;
}

.custom-table thead th {
    color: #0d6efd;
    font-weight: 600;
    padding: 12px;
    font-size: 0.95rem;
}

.custom-table tbody td {
    padding: 10px;
}

.custom-table tbody tr:hover {
    background: rgba(13, 110, 253, 0.08);
}

/* Nombre total */
.count {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: right;
    margin-top: 10px;
    color: #0d6efd;
}

/* Ombres qualitatives */
.shadow-lg {
    box-shadow: 0px 4px 15px rgba(0,0,0,0.15) !important;
}

/* Icons */
.section-title i {
    margin-right: 10px;
}


/* login */

        .login-container {
            max-width: 420px;
            margin: 80px auto;
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
        }

        .login-title {
            font-size: 1.7rem;
            margin-bottom: 25px;
        }

        .login-form label {
            font-weight: 600;
            margin-bottom: 6px;
            display: block;
        }

        .login-form input {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid #d0d4dc;
            margin-bottom: 15px;
            font-size: 1rem;
            transition: 0.2s;
        }

        .login-form input:focus {
            border-color: #0d6efd;
            outline: none;
            box-shadow: 0 0 0 2px rgba(13,110,253,0.2);
        }

        .login-btn {
            width: 100%;
            padding: 12px;
            background: #0d6efd;
            border: none;
            color: white;
            font-size: 1.1rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: 0.25s;
        }

        .login-btn:hover {
            background: #0b5ed7;
        }

        .error-box {
            background: #ffebeb;
            color: #b30000;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 15px;
            border: 1px solid #ffcccc;
        }


        /* log out */
        .logout-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.25s;
}

.logout-btn:hover {
    background: #bb2d3b;
}

.logout-center {
    text-align: center;
    margin-top: 20px;
}

