/* Iniciar sesión y recuperar contraseña */

.sidebar-logo {
    justify-content: center;
}

.btn-auth {
    background: #071b26;
    border: 1px solid #071b26;
    color: #fff;
}

.btn-auth:hover {
    background: #134966;
    border: 1px solid #134966;
    color: #fff;
}

.logo-login {
    width: 160px;
}

textarea{
    height: 180px;
}

table td{
    vertical-align: middle;
}

/* ===== NOTIFICATIONS & CART STYLES ===== */

/* Notification Badge Positioning */
.notification-badge,
.cart-badge {
    font-size: 0.75rem;
    min-width: 18px;
    height: 18px;
    line-height: 1;
    padding: 0.25em 0.4em;
}

/* Dropdown Menu Improvements */
.dropdown-menu-lg {
    min-width: 350px;
    max-width: 400px;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Notification Item Styling */
.notification-item {
    border-radius: 8px;
    margin: 0 12px 8px 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.notification-item:hover {
    background-color: var(--bs-gray-100) !important;
    border-color: var(--bs-primary);
    text-decoration: none;
    transform: translateY(-1px);
}

.notification-item:last-child {
    margin-bottom: 0;
}

/* Cart Item Styling */
.cart-item {
    border-radius: 8px;
    margin: 0 12px 12px 12px;
    transition: all 0.2s ease;
    border: 1px solid var(--bs-border-color);
}

.cart-item:hover {
    background-color: var(--bs-gray-50) !important;
    border-color: var(--bs-success);
    transform: translateY(-1px);
}

/* Progress Bar Custom Styling */
.progress.payment-progress {
    height: 6px;
    border-radius: 10px;
    background-color: var(--bs-gray-200);
}

.progress.payment-progress .progress-bar {
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Toast Container Positioning */
.toast-container {
    z-index: 9999;
}

/* Badge Animation Enhancements */
.badge-pulse {
    animation: pulse 1s ease-in-out;
}

.badge-bounce {
    animation: bounce 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

/* Modal Enhancements */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom: 1px solid var(--bs-border-color);
}

.modal-footer {
    border-top: 1px solid var(--bs-border-color);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Loading States */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Text Utilities */
.text-w-200-px {
    max-width: 200px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Status Badges */
.badge.bg-warning {
    color: #000 !important;
}

/* Button Improvements */
.btn-sm {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
}

/* Dropdown Scrolling */
.max-h-400-px {
    max-height: 400px;
}

.scroll-sm {
    scrollbar-width: thin;
    scrollbar-color: var(--bs-gray-400) transparent;
}

.scroll-sm::-webkit-scrollbar {
    width: 6px;
}

.scroll-sm::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-sm::-webkit-scrollbar-thumb {
    background-color: var(--bs-gray-400);
    border-radius: 3px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dropdown-menu-lg {
        min-width: 280px;
        max-width: 320px;
    }
    
    .text-w-200-px {
        max-width: 150px;
    }
    
    .notification-item,
    .cart-item {
        margin: 0 8px 8px 8px;
        padding: 8px 12px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .notification-item,
    .cart-item {
        border: 2px solid var(--bs-border-color);
    }
    
    .notification-badge,
    .cart-badge {
        border: 2px solid white;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .notification-item,
    .cart-item,
    .badge-pulse,
    .badge-bounce,
    .progress-bar {
        transition: none;
        animation: none;
    }
}