/* ============================================
   Pagina de Eliminacion de Cuenta
   ============================================ */

.hero-eliminar-cuenta {
    background: linear-gradient(135deg, #8B0000 0%, #4a0000 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 40px;
}

.hero-eliminar-cuenta h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-eliminar-cuenta .lead {
    font-size: 1.3rem;
    opacity: 0.95;
}

.eliminar-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.eliminar-section {
    margin-bottom: 2.5rem;
}

.eliminar-section h2 {
    color: #8B0000;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.eliminar-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #4a0000);
    border-radius: 2px;
}

.eliminar-section p {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.pasos-timeline {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
}

.pasos-timeline::before {
    content: '';
    position: absolute;
    left: 1.1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #8B0000, #e9ecef);
    border-radius: 2px;
}

.paso-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.paso-item:last-child {
    margin-bottom: 0;
}

.paso-numero {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    background: linear-gradient(135deg, #8B0000, #4a0000);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.3);
}

.paso-item h3 {
    color: #2d2d2d;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    margin-top: 0;
}

.paso-item p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.datos-list {
    list-style: none;
    padding: 0;
}

.datos-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #495057;
    line-height: 1.6;
}

.datos-list li:last-child {
    border-bottom: none;
}

.datos-list li i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.datos-list li i.bi-check-circle-fill {
    color: #dc3545;
}

.datos-list li i.bi-arrow-repeat {
    color: #fd7e14;
}

.datos-list li i.bi-shield-check {
    color: #2d5a27;
}

.datos-list li strong {
    color: #2d2d2d;
}

.form-eliminar {
    max-width: 500px;
    margin: 0 auto;
}

.form-eliminar .form-label {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

.form-eliminar .form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    transition: border-color 0.2s;
}

.form-eliminar .form-control:focus {
    border-color: #8B0000;
    box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.15);
}

.btn-eliminar {
    background: linear-gradient(135deg, #8B0000, #4a0000);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    width: 100%;
}

.btn-eliminar:hover:not(:disabled) {
    background: linear-gradient(135deg, #a00000, #5a0000);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

.btn-eliminar:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.confirmacion-panel {
    text-align: center;
    padding: 2rem;
}

.confirmacion-panel .icono-confirmacion {
    font-size: 4rem;
    color: #8B0000;
    margin-bottom: 1rem;
}

.confirmacion-panel h3 {
    color: #2d2d2d;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.confirmacion-panel p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.btn-confirmar-eliminacion {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
}

.btn-confirmar-eliminacion:hover:not(:disabled) {
    background: #c82333;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-confirmar-eliminacion:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.exito-panel {
    text-align: center;
    padding: 2rem;
}

.exito-panel .icono-exito {
    font-size: 4rem;
    color: #2d5a27;
    margin-bottom: 1rem;
}

.error-token-panel {
    text-align: center;
    padding: 2rem;
}

.error-token-panel .icono-error {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: rgba(139, 0, 0, 0.05);
    color: #8B0000;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.15);
}

.alerta-importante {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alerta-importante i {
    color: #856404;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.alerta-importante p {
    margin-bottom: 0;
    color: #856404;
    font-weight: 500;
}

.spinner-eliminar {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin-eliminar 0.6s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

@keyframes spin-eliminar {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .hero-eliminar-cuenta {
        padding: 60px 0 40px;
    }

    .hero-eliminar-cuenta h1 {
        font-size: 2rem;
    }

    .hero-eliminar-cuenta .lead {
        font-size: 1.1rem;
    }

    .eliminar-card {
        padding: 1.5rem;
    }

    .pasos-timeline {
        padding-left: 2.5rem;
    }

    .pasos-timeline::before {
        left: 0.85rem;
    }

    .paso-numero {
        left: -2.5rem;
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-eliminar-cuenta h1 {
        font-size: 1.6rem;
    }

    .eliminar-card {
        padding: 1.25rem;
    }

    .eliminar-section h2 {
        font-size: 1.25rem;
    }
}
