/* Variables CSS para mantener consistencia */
:root {
    --primary-color: #4b1ca4;
    --primary-dark: #3a1580;
    --primary-light: #6b2dd4;
    --secondary-color: #d60739;
    --secondary-dark: #b00530;
    --success-color: #28a745;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* FORZAR RESET DE BOOTSTRAP PARA ESTE COMPONENTE */
.depositos-container * {
    box-sizing: border-box;
}

/* Container principal */
.depositos-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem 1rem !important;
    min-height: calc(100vh - 120px) !important;
}

/* Header con botón de ayuda */
.depositos-header {
    display: flex !important;
    justify-content: flex-end !important;
    margin-bottom: 1.5rem !important;
}

.depositos-container .btn-help {
    all: unset; /* RESETEAR TODOS LOS ESTILOS DE BOOTSTRAP */
    background-color: var(--secondary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    box-shadow: var(--box-shadow) !important;
}

.depositos-container .btn-help:hover {
    background-color: var(--secondary-dark) !important;
    transform: scale(1.1) !important;
    box-shadow: var(--box-shadow-hover) !important;
}

/* Card principal */
.depositos-main-card {
    background: var(--background-white) !important;
    border-radius: var(--border-radius) !important;
    padding: 3rem 2rem !important;
    box-shadow: var(--box-shadow) !important;
    text-align: center !important;
    animation: fadeInUp 0.5s ease !important;
}

.depositos-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 2.5rem !important;
    letter-spacing: -0.5px !important;
}

.depositos-subtitle {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
}

/* Botones de acción principales - RESETEAR BOOTSTRAP */
.depositos-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    max-width: 400px !important;
    margin: 0 auto !important;
}

.depositos-container .btn-deposito {
    all: unset; /* RESETEAR TODO */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1.25rem 2rem !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    box-shadow: var(--box-shadow) !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.depositos-container .btn-deposito.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    color: white !important;
}

.depositos-container .btn-deposito.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--box-shadow-hover) !important;
}

.depositos-container .btn-deposito.btn-secondary-custom {
    background: linear-gradient(135deg, var(--text-muted), #868e96) !important;
    color: white !important;
}

.depositos-container .btn-deposito.btn-secondary-custom:hover {
    background: linear-gradient(135deg, #495057, var(--text-muted)) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--box-shadow-hover) !important;
}

/* Cards de opciones y listas */
.depositos-opciones-card,
.depositos-lista-card {
    background: var(--background-white) !important;
    border-radius: var(--border-radius) !important;
    padding: 2.5rem 2rem !important;
    box-shadow: var(--box-shadow) !important;
    animation: fadeInUp 0.5s ease !important;
    margin-top: 2rem !important;
}

/* Grid de opciones */
.depositos-opciones-grid,
.depositos-lista-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

/* Botones de opciones - RESETEAR ENLACES DE BOOTSTRAP */
.depositos-container .btn-opcion-deposito,
.depositos-container .btn-lista-deposito {
    all: unset; /* RESETEAR TODO */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    padding: 2rem 1.5rem !important;
    border-radius: var(--border-radius) !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    box-shadow: var(--box-shadow) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.depositos-container .btn-opcion-deposito:hover,
.depositos-container .btn-lista-deposito:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--box-shadow-hover) !important;
}

.depositos-container .btn-opcion-deposito.btn-region,
.depositos-container .btn-lista-deposito.btn-lista-region {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.depositos-container .btn-opcion-deposito.btn-distrito,
.depositos-container .btn-lista-deposito.btn-lista-distrito {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.depositos-container .btn-opcion-deposito.btn-cen,
.depositos-container .btn-lista-deposito.btn-lista-cen {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.opcion-icon,
.lista-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
}

.opcion-text,
.lista-text {
    color: white !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .depositos-container {
        padding: 1rem 0.75rem !important;
    }

    .depositos-title {
        font-size: 2rem !important;
    }

    .depositos-subtitle {
        font-size: 1.5rem !important;
    }

    .depositos-opciones-grid,
    .depositos-lista-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .depositos-container .btn-deposito {
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
