.bg-success {
    background-color: #018e27 !important;
    color: black !important;
}

/* btn-danger y bg-danger (rojo - Cancelar) */
.btn-danger,
.bg-danger {
    background-color: #ed5a5a !important;
    border-color: #ed5a5a !important;
    color: white !important;
}

/* bg-info (azul - Editar) */
.bg-info {
    background-color: #4534b6 !important;
    color: white !important;
}

/* bg-primary y btn-primary (morado - Nuevo evento, Notificaciones) */
.bg-primary,
.btn-primary {
    background-color: #9682f2 !important;
    border-color: #9682f2 !important;
    color: white !important;
}

/* Border-primary (input morado) */
.border-primary {
    border-color: #9682f2 !important;
}

/* Texto en tabs - Eventos */
.text-primary {
    color: #9682f2 !important;
}

/* Texto - Proveedores (gris oscuro) */
.text-dark {
    color: #303030 !important;
}

/* Border - gris claro */
.border-secondary {
    border-color: #9682F2 !important;
}

.centered-text-top {
    position: absolute;
    top: 8%;
    /* Ajusta este valor para controlar la distancia desde la parte superior */
    left: 50%;
    transform: translate(-50%, -20%);
    /* Centra horizontalmente y ajusta verticalmente según el valor de 'top' */
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 0 20px;
    /* Añade un poco de espacio alrededor del texto */
    color: white;
    /* Ajusta el color del texto según lo necesites */
    font-size: 1.2rem;
    /* Tamaño del texto ajustable */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
}

.centered-text-top-register {
    position: absolute;
    top: 10%;
    /* Ajusta este valor para controlar la distancia desde la parte superior */
    left: 50%;
    transform: translate(-50%, -20%);
    /* Centra horizontalmente y ajusta verticalmente según el valor de 'top' */
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 0 20px;
    /* Añade un poco de espacio alrededor del texto */
    font-weight: bold;
}

.title {
    font-size: 1rem;
}

.sub-title {
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    /* Controla la duración de la animación */
}

.visible {
    max-height: auto;
    /* Establece un valor máximo que se ajuste a tus campos */
    transition: max-height 0.9s ease-in;
    /* Controla la duración de la animación */
}

span {
    font-family: 'Montserrat', sans-serif;
}


.rounded {
    border-radius: 50% !important;
    /* Hace el botón redondo */
    width: 30px !important;
    /* Ancho del botón */
    height: 30px !important;
    /* Alto del botón */
    padding: 0 !important;
    /* Quitar padding interno para que sea un círculo perfecto */
}

/* Opcional: Cambiar el tamaño del ícono */
.btn-outline-danger i {
    font-size: 14px;
    /* Ajusta el tamaño del ícono dentro del botón */
}

.product-card {
    height: 250px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto; /* Centra horizontalmente si quieres */
}


.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    color: white;
    text-align: center;
    padding: 20px 10px;
    z-index: 2;
}

.product-title {
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

.product-price {
    font-size: 16px;
    margin-bottom: 10px;
}

/* 👉 Solo efectos visuales estilo Material Design */
.card {
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 20px;
    text-align: center;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* Título y texto */
.card-title {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.card-text {
    font-size: 0.95rem;
}

/* Botón primario más limpio y moderno */
.btn-primary {
    background-color: #2196f3;
    border: none;
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #1976d2;
    transform: scale(1.05);
}

/* Estilo general de tabla */
.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Encabezado */
.table thead {
    background-color: #f5f5f5;
}

.table thead th {
    border-bottom: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 14px;
    color: #333;
}

/* Celdas de datos */
.table td, .table th {
    padding: 12px 16px;
    vertical-align: middle;
    border-top: 1px solid #eee;
    background-color: #fff;
}

/* Hover elegante */
.table tbody tr:hover {
    background-color: #f0f8ff;
    transition: background-color 0.2s ease;
}

/* Primera columna un poco más fuerte (opcional) */
.table tbody td:first-child {
    font-weight: 500;
}

/* Bordes suaves en filas alternas (zebra) */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fafafa;
}

/* Bordes redondeados en esquinas */
.table thead tr:first-child th:first-child {
    border-top-left-radius: 12px;
}

.table thead tr:first-child th:last-child {
    border-top-right-radius: 12px;
}

.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}
/* Estilo general para todos los botones */
.btn {
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Hover general */
.btn:hover {
    transform: translateY(-2px);
}

/* Botón primario */
.btn-primary {
    background-color: #2196f3;
    color: white;
    border: none;
}
.btn-primary:hover {
    background-color: #1976d2;
}

/* Botón secundario */
.btn-secondary {
    background-color: #9e9e9e;
    color: white;
    border: none;
}
.btn-secondary:hover {
    background-color: #757575;
}

/* Botón success */
.btn-success {
    background-color: #4caf50;
    color: white;
    border: none;
}
.btn-success:hover {
    background-color: #388e3c;
}

/* Botón danger */
.btn-danger {
    background-color: #f44336;
    color: white;
    border: none;
}
.btn-danger:hover {
    background-color: #d32f2f;
}

/* Botón warning */
.btn-warning {
    background-color: #ff9800;
    color: white;
    border: none;
}
.btn-warning:hover {
    background-color: #f57c00;
}

/* Botón info */
.btn-info {
    background-color: #00bcd4;
    color: white;
    border: none;
}
.btn-info:hover {
    background-color: #0097a7;
}

/* Botón light */
.btn-light {
    background-color: #f1f1f1;
    color: #333;
    border: none;
}
.btn-light:hover {
    background-color: #e0e0e0;
}

/* Botón dark */
.btn-dark {
    background-color: #212121;
    color: white;
    border: none;
}
.btn-dark:hover {
    background-color: #000;
}
/* Estilo base */
.alert {
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: none;
    position: relative;
    transition: all 0.3s ease;
}

/* Alert primario */
.alert-primary {
    background-color: #e3f2fd;
    color: #0d47a1;
}

/* Alert success */
.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* Alert danger */
.alert-danger {
    background-color: #ffebee;
    color: #c62828;
}

/* Alert warning */
.alert-warning {
    background-color: #fff8e1;
    color: #f57c00;
}

/* Botón de cerrar con estilo */
.alert-dismissible .btn-close {
    background: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
}
/* Menú de Categorías */
.menu-categorias {
    background-color: #e8eaf6; /* Indigo lighten-5 */
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.menu-categorias a {
    color: #3f51b5; /* Indigo */
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s, color 0.3s;
}

.menu-categorias a:hover {
    background-color: #c5cae9; /* Indigo lighten-3 */
    color: #1a237e; /* Indigo darken-4 */
    text-decoration: none;
}

/* Menú de Marcas */
.menu-marcas {
    background-color: #f3e5f5; /* Purple lighten-5 */
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.menu-marcas a {
    text-decoration: none;
    color: #9c27b0; /* Purple */
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s, color 0.3s;
}

.menu-marcas a:hover {
    background-color: #e1bee7; /* Purple lighten-3 */
    color: #6a1b9a; /* Purple darken-3 */
}

/* Eliminar el borde por defecto de Bootstrap */
.form-control {
    border: 1px solid #ccc; /* Agregar un borde sutil */
    border-radius: 4px; /* Bordes redondeados */
    background-color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Agregar el borde de color al enfocar el campo, al estilo de Material Design */
.form-control:focus {
    border-color: #6200ea; /* Color morado de Material Design */
    box-shadow: 0 1px 5px rgba(98, 0, 234, 0.2); /* Sombra sutil */
}

/* Opcional: si quieres que el borde tenga un color sutil por defecto */
.form-control::placeholder {
    color: #9e9e9e;
}

