

.table-responsive {
    display: flex;
    justify-content: center;
}

.cart-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cart-buttons form,
.cart-buttons a {
    width: 45%;
    text-align: center;
}
.form-control {
    height: auto !important;
    padding: 8px 12px !important;
    line-height: 1.5 !important;
    font-size: 16px !important;
}


.bg-success {
    background-color: #28a745 !important; /* Verde */
    color: white !important;
}

.bg-danger {
    background-color: #dc3545 !important; /* Rojo */
    color: white !important;
}

.bg-primary {
    background-color: #007bff !important; /* Azul */
    color: white !important;
}

.bg-warning {
    background-color: #ffc107 !important; /* Amarillo */
    color: black !important;
}


html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#footer {
    margin-top: auto;
}
.order-col {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.product-image {
    width: 100px;
    height: auto;
    border-radius: 5px; 
}

.product-info {
    flex-grow: 1; 
}

.btn-ver-comprobante {
    border: 2px solid red; 
    color: red; 
    background-color: transparent;
    transition: all 0.3s ease-in-out; 
}

.btn-ver-comprobante:hover {
    background-color: red;
    color: white;
}


.btn-finalizar-compra {
    border: 2px solid #00bd52; 
    color: #00bd52; 
    background-color: transparent; 
    transition: all 0.3s ease-in-out; 
    font-weight: bold; 
    border-radius: 5px; 
}

.btn-finalizar-compra:hover {
    background-color: #00bd52; 
    color: white; 
}

.shop {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.shop-img img {
    width: 100%;
    height: 250px;
}

.shop-body h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.shop-body p {
    font-size: 14px;
    color: #555;
}


.section .row {
    margin-bottom: 50px;
}

.product {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-img {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 150px;
}

.product-body h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
}

.product-price {
    font-size: 18px;
    color: #ff5733;
    font-weight: bold;
}

.product-description {
    font-size: 14px;
    color: #666;
    min-height: 40px; 
}

/* Estilos para el menú del dashboard */
.dashboard-menu {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.dashboard-menu li {
    display: inline-block;
    margin: 0 15px;
}

.dashboard-menu a {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-radius: 8px;
    background: #f8f9fa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dashboard-menu a:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

/* Estilo para la pestaña activa */
.dashboard-menu a.active {
    background: #d20000;
    color: white;
    pointer-events: none;
}

/* Estilos generales del formulario */
.user-dashboard .form-group {
    margin-bottom: 15px;
}

.user-dashboard label {
    font-weight: bold;
    color: #444;
}

.user-dashboard .form-control {
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    transition: all 0.3s ease-in-out;
}

.user-dashboard .form-control:focus {
    border-color: #be0000;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

/* Botón de guardar */
.btn-main {
    background: #d20000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background: #cc0000;
}

/* Mejoras en el contenedor */
.dashboard-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}


.contact-info ul {
    padding: 0;
    list-style: none;
}

.contact-info li {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.contact-info li strong {
    text-align: left;
    width: 40%;
}

.contact-info li a, 
.contact-info li span {
    text-align: right;
    width: 60%;
}

.page-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
}

.page-404 h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-404 .btn-main {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
}
