:root {
    --primary-color: #0d6efd;
    --secondary-color: #f8f9fa;
    --background-color: #f1f5f9;
    --text-dark: #1e293b;
    --card-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --card-hover-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

body {
    background-color: var(--background-color);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

/* Custom Cards */
.menu-card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    color: var(--primary-color);
}

.menu-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.menu-card h4 {
    font-weight: 600;
    margin: 0;
}

/* Login specific */
.login-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-primary-custom:hover {
    background-color: #0b5ed7;
}

/* UI Settings */
.settings-section .card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
}

.settings-section .card-header {
    background-color: #ffffff;
    border-bottom: 2px solid var(--background-color);
    font-weight: 600;
    color: var(--primary-color);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Modificar tamaño por defecto de SweetAlert */
.swal2-popup {
    font-size: 0.85em !important;
    width: 24em !important; /* Default was 32em */
    padding: 1.25em !important;
}
.swal2-title {
    font-size: 1.5em !important;
}
.swal2-icon {
    transform: scale(0.75); /* Hacer el icono mas pequeno */
    margin: 1em auto .5em !important;
}
