:root {
    --primary-color: #ea0874;
    --secondary-color: #ea08754d;
    --accent-color: #ffc107;
    --background-color: #f8f9fa;
    --text-color: #343a40;
}

body {
    font-family: sans-serif;
    background-color: var(--background-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

        .login-container {
            background-color: white;
            padding: 2rem;
            border-radius: 0.5rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
            width: 400px;
            max-width: 90%;
            /* Para pantallas más pequeñas */
        }

        .login-container h2 {
            text-align: center;
            color: var(--text-color);
            margin-bottom: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            color: var(--secondary-color);
            font-weight: bold;
        }

        .form-control {
            border: 1px solid #ced4da;
            border-radius: 0.25rem;
            padding: 0.75rem;
            width: 100%;
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-primary:hover {
            background-color: #0056b3;
            border-color: #0056b3;
        }

        .error-message {
            color: red;
            font-size: 0.875rem;
            margin-top: 0.25rem;
        }
        div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    
    background-color: #ea0874;}







       

        /* Estilos del menú lateral */
        .sidebar {
            height: 100vh;
            background-color: white;
            color: var(--text-color);
            width: 250px;
            padding-top: 20px;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
            position: fixed;
            top: 0;
            left: 0;
            overflow-y: auto;
            /* Para que sea desplazable si el contenido es largo */
        }

        .sidebar h2 {
            padding-left: 20px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }

        .sidebar ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar li {
            padding: 10px 20px;
            cursor: pointer;
        }

        .sidebar li:hover {
            background-color: var(--secondary-color);
        }

        .sidebar .active {
            background-color: var(--primary-color);
            color: white;
        }

        /* Estilos del contenido principal */
        .main-content {
            margin-left: 250px;
            /* Ancho del menú lateral */
            padding: 20px;
        }

        .summary-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
            padding: 1rem 3rem;
            margin-bottom: 1rem;
            text-align: center;
        }

        .summary-card h3 {
            color: var(--text-color);
            margin-bottom: 0.75rem;
            font-size: 1.25rem;
        }

        .summary-card p {
            color: var(--secondary-color);
            font-size: 2rem;
        }