body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar {
    margin-bottom: 2rem;
}
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.badge {
    font-size: 0.9em;
    padding: 0.5em 1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-image {
        margin-bottom: 2rem;
    }
}
.admin-product-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.table > :not(caption) > * > * {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

/* Estilos para el panel de administración */
.admin-container {
    padding: 20px;
}

.btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
}

/* Mejorar visualización de formularios */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.card-title {
    color: #333;
    font-weight: 600;
}

/* Estilos para el modal de confirmación */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Mejoras en la navegación */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
}

/* Estilos para mensajes de alerta */
.alert {
    margin-bottom: 1.5rem;
}

.alert-dismissible .btn-close {
    padding: 1.25rem;
}

/* Estilos para la previsualización de imágenes */
.image-preview {
    max-width: 100%;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.25rem;
}

/* Estilos para los checkboxes de categorías */
.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-group-sm {
        display: flex;
        gap: 0.5rem;
    }
    
    .admin-product-thumb {
        width: 40px;
        height: 40px;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}
.cart-item {
    padding: 1rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.quantity-input {
    max-width: 80px;
}

.btn-link {
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cart-item {
        text-align: center;
    }
    
    .cart-item > div {
        margin-bottom: 1rem;
    }
    
    .cart-item > div:last-child {
        margin-bottom: 0;
    }
}

.confirmation-icon {
    color: #28a745;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .order-summary {
        margin-top: 2rem;
    }
}
.profile-image-container {
    position: relative;
    width: 150px;
    margin: 0 auto;
}

.profile-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.default-avatar {
    width: 150px;
    height: 150px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.default-avatar i {
    font-size: 4rem;
    color: #dee2e6;
}

.password-requirements {
    font-size: 0.875rem;
}

.password-requirements ul {
    padding-left: 1.2rem;
}

.form-check.form-switch {
    padding-left: 3rem;
}
