﻿.Detalle-Cuenta {
    max-width: 12rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f9fafb;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    align-items: center;
    gap: 0.75rem;
}

.AgregarTarjeta {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0px 1rem;
}
.AñoMesTarjeta {
    display: flex;
    gap: 0px 1rem;
}

.AñoMesTarjeta > div {
    flex: 1 1 0;
    min-width: 0;
}
.FondoAgregarTarjeta {
    background: linear-gradient(135deg, #37474F, #263238);
    padding: 1.5rem;
    border-radius: 12px;
}



















.contenedor-cuentas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.tarjeta-cuenta {
    min-width: 0;
    width: 100%;
    max-width: 15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f4f6f8;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tarjeta-cuenta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.icono-cuenta {
    font-size: 2rem;
    color: #2a7ae4;
}

.contenido-cuenta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cuenta-id {
    font-weight: 700;
    font-size: 1.1rem;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cuenta-alias {
    font-size: 0.9rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acciones-cuenta {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}












.grid-tarjetas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    padding: 1rem;
}

.tarjeta-bancaria {
    cursor: pointer;
    padding-top: 3.5rem;
    position: relative;
    background: linear-gradient(135deg, #37474F, #263238);
    color: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.tarjeta-bancaria:hover {
    transform: scale(1.03);
}

.tarjeta-bancaria .marca {
    font-size: 1.2rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.tarjeta-bancaria .numero {
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin: 0.8rem 0;
}

.tarjeta-bancaria .titular {
    font-size: 1rem;
    text-transform: uppercase;
}

.tarjeta-bancaria .detalles {
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.tarjeta-bancaria .logo {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0.6;
}


.Centrar {
    display: flex;
    flex-direction: column;
    align-items: center; /* centra horizontalmente */
}


/* ===================================================
   Pantalla Estado Del Pago
   =================================================== */
@keyframes girar {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.spinner {
    width: 70px;
    height: 70px;
    border: 8px solid #e0e0e0;
    border-top: 8px solid #0078D4;
    border-radius: 50%;
    animation: girar 1s linear infinite;
    margin: 0 auto 1.5rem auto;
}
/* ===================================================
   
   =================================================== */


.contenedor-botones-accion {
    display: flex;
    position: absolute; /* Si necesitas que estén encima de la tarjeta */
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
}