/*index */
.category-container {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
}
.toggle-category {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}
.toggle-category:hover {
    background-color: rgba(59, 130, 246, 0.1);
}
.toggle-icon {
    font-size: 1.25rem;
}
/*index */


/* Estilos personalizados de la página de login */


.login-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem; /* Bordes redondeados */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra moderna */
    width: 24rem;
    /* Margen para evitar que el contenido esté pegado a los bordes */
    margin: 1rem;
}

.login-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.error-message {
    color: #f56565; /* Red-500 in Tailwind */
    margin-bottom: 1rem;
}



body {
    background-color: #f7fafc;
}

.container {
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-logout {
    background-color: #f56565;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-logout:hover {
    background-color: #e53e3e;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.dashboard-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-value {
    font-size: 2.25rem;
    font-weight: 700;
}

.btn-action {
    background-color: #4299e1;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-action:hover {
    background-color: #3182ce;
}


/* Estilos comunes */
.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.logout-btn {
    background-color: #f56565; /* Red-500 in Tailwind */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: #e53e3e; /* Red-600 */
}

/* Estilos del formulario */
.form-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db; /* Gray-300 */
    border-radius: 0.375rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: #6366f1; /* Indigo-500 */
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3); /* Indigo ring */
}

.submit-btn {
    background-color: #6366f1; /* Indigo-600 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #4f46e5; /* Indigo-700 */
}

/* Estilos de la tabla */
.table-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.table-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 0.75rem;
    text-align: left;
}

.table th {
    background-color: #f3f4f6; /* Gray-100 */
    font-weight: 600;
}

.table td {
    border-bottom: 1px solid #e5e7eb; /* Gray-200 */
}

/* Botones en la tabla */
.inline-form {
    display: inline;
}

.delete-btn {
    background-color: #f56565; /* Red-500 */
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    margin-right: 0.5rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

.delete-btn:hover {
    background-color: #e53e3e; /* Red-600 */
}

.edit-btn {
    background-color: #4299e1; /* Blue-500 */
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

.edit-btn:hover {
    background-color: #3182ce; /* Blue-600 */
}

/* styles.css */
body {
    background-color: #f7fafc; /* bg-gray-100 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem; /* px-4 py-8 */
}

button {
    border-radius: 0.375rem; /* rounded-md */
}

.bg-white {
    background-color: #fff; /* white background for cards */
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Example shadow */
}

/* More Tailwind styles can be added as needed */



