/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de rojos para vidriería con más contraste */
    --primary-color: #C62828; /* Rojo intenso - mejor contraste */
    --secondary-color: #D32F2F; /* Rojo fuego vibrante */
    --accent-color: #FF5252; /* Rojo claro para acentos */
    --light-color: #FFFFFF; /* Blanco puro para fondos */
    --dark-color: #2C2C2C; /* Negro/gris oscuro para texto - mejor contraste */
    --gray-color: #666666; /* Gris medio */
    --light-gray: #F5F5F5; /* Gris muy claro */
    --success-color: #2E7D32; /* Verde profesional */
    --shadow: 0 4px 12px rgba(198, 40, 40, 0.1);
    --transition: all 0.3s ease;
    
    /* Colores adicionales */
    --red-wine: #8B0000; /* Rojo vino oscuro */
    --red-brick: #B22222; /* Rojo ladrillo */
    --red-light: #FFEBEE; /* Rojo muy claro para fondos */
    --red-dark: #B71C1C; /* Rojo oscuro para hover */
    --white: #FFFFFF;
    --black: #000000;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    color: var(--dark-color);
}

h2 {
    font-size: 2.4rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
}

h4 {
    font-size: 1.4rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--red-dark);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--red-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(198, 40, 40, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(198, 40, 40, 0.2);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #FF6B6B);
    color: white;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #FF6B6B, var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 82, 82, 0.2);
}

.highlight {
    color: var(--primary-color);
    font-weight: 800;
}

.text-center {
    text-align: center;
}

/* Header con efecto vidrio mejorado */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(198, 40, 40, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(198, 40, 40, 0.08);
    font-size: 0.9rem;
    color: var(--dark-color);
    background: var(--white);
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--dark-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Logo */
.logo-img {
    max-height: 80px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo a {
    display: flex;
    align-items: center;
    height: 80px;
}

.logo h1,
.logo .tagline {
    display: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    color: var(--dark-color);
    font-size: 1rem;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.admin-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.admin-btn:hover {
    background-color: var(--red-dark);
    transform: translateY(-2px);
}

.cart-btn {
    position: relative;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Section Mejorada */
.hero {
    background: linear-gradient(rgba(44, 44, 44, 0.85), rgba(70, 70, 70, 0.85)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(198, 40, 40, 0.2), rgba(255, 82, 82, 0.1));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero .tagline {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Servicios Mejorados */
.servicios {
    padding: 100px 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.servicio-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
    position: relative;
}

.servicio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(198, 40, 40, 0.15);
}

.servicio-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.servicio-img:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.servicio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.servicio-card:hover .servicio-img img {
    transform: scale(1.1);
}

.servicio-content {
    padding: 30px;
}

.servicio-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.servicio-content h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.servicio-content p {
    color: var(--gray-color);
    line-height: 1.7;
}

/* Productos Destacados */
.productos {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.producto-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(198, 40, 40, 0.1);
}

.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(198, 40, 40, 0.15);
    border-color: var(--primary-color);
}

.producto-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.producto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.producto-card:hover .producto-img img {
    transform: scale(1.08);
}

.producto-content {
    padding: 25px;
}

.producto-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.producto-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.producto-precio {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.producto-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
}

/* Sobre Nosotros */
.sobre-nosotros {
    padding: 100px 0;
    background-color: var(--light-color);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-text {
    padding-right: 20px;
}

.sobre-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
    line-height: 1.8;
}

.sobre-text .btn {
    margin-top: 20px;
}

.sobre-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 8px solid white;
    position: relative;
}

.sobre-img:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
}

.sobre-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.sobre-img:hover img {
    transform: scale(1.05);
}

/* Contacto */
.contacto {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary-color);
}

.contact-form h3 {
    margin-bottom: 30px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--dark-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

/* Info Contacto */
.contact-info h3 {
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contact-info-footer {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.contact-info-footer .contact-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-footer .contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-footer .contact-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    min-width: 30px;
}

.mapa {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.mapa h4 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.mapa > div {
    height: 280px;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3,
.footer-column h4 {
    color: white;
    margin-bottom: 25px;
}

.footer-column h4 {
    padding-bottom: 15px;
    position: relative;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    margin-top: 25px;
}

.footer-social .social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-social .social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.business-hours {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* WhatsApp flotante mejorado */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sobre-text {
        padding-right: 0;
    }
    
    .sobre-img {
        order: -1;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header {
        backdrop-filter: blur(10px);
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 140px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero .tagline {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .logo-img {
        max-height: 65px;
    }
    
    .logo a {
        height: 65px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .servicios-grid,
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .contact-info-footer,
    .mapa {
        padding: 25px;
    }
    
    .logo-img {
        max-height: 55px;
    }
    
    .logo a {
        height: 55px;
    }
}

/* Estilos específicos para tienda, admin, etc. se mantienen igual */
.tienda-header {
    background: linear-gradient(rgba(44, 44, 44, 0.9), rgba(70, 70, 70, 0.9));
    color: white;
    padding: 80px 0 40px;
    text-align: center;
}

.tienda-header h1 {
    color: white;
}

/* Resto de estilos (tienda, admin, etc.) permanecen igual que antes */
/* Estilos para la tienda online */
.tienda-header {
    background: linear-gradient(rgba(90, 0, 0, 0.9), rgba(114, 47, 55, 0.9));
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.tienda-header h1 {
    color: white;
}

.tienda-filtros {
    background-color: var(--light-gray);
    padding: 20px 0;
    margin-bottom: 40px;
}

.filtros-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filtro-categorias select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: var(--primary-color);
}

.ordenar select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: var(--primary-color);
}

/* Estilos para el carrito */
.carrito-container {
    padding: 50px 0;
    background-color: var(--light-gray);
}

.carrito-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .carrito-grid {
        grid-template-columns: 1fr;
    }
}

.carrito-items {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.carrito-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.carrito-item-img {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
}

.carrito-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrito-item-cantidad {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cantidad-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
}

.cantidad-btn:hover {
    background-color: var(--red-light);
}

.carrito-resumen {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 25px;
    height: fit-content;
}

.carrito-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--primary-color);
}

/* Estilos para el admin */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
}

.login-container {
    width: 100%;
    max-width: 400px;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent-color);
}

.login-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.dashboard-container {
    padding: 30px 0;
    background-color: var(--light-gray);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.dashboard-card h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.dashboard-card p {
    color: var(--gray-color);
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background-color: var(--light-gray);
    font-weight: 700;
    color: var(--primary-color);
}

.table tr:hover {
    background-color: #FFF5F5;
}

.acciones {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.9rem;
}

.btn-edit {
    background-color: var(--secondary-color);
    color: white;
}

.btn-delete {
    background-color: var(--accent-color);
    color: white;
}

.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-top: 4px solid var(--accent-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Estilos para mensajes */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #F0FFF0;
    color: #155724;
    border-color: var(--success-color);
}

.alert-error {
    background-color: #FFF0F0;
    color: #721c24;
    border-color: var(--accent-color);
}

.alert-info {
    background-color: #F0F8FF;
    color: var(--primary-color);
    border-color: var(--secondary-color);
}