/* ==============================================================================
   LA TIERRITA - Billetes y Monedas Fotorrealistas de Colombia (COP)
   Inspirados en la familia oficial del Banco de la República
   ============================================================================== */

.wallet-panel {
    background: #FFF;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 2px solid rgba(246, 217, 138, 0.7);
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.wallet-total {
    font-size: 1.45rem;
    font-weight: 900;
    color: #2E7D32;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

/* Contenedor de Billetes */
.banknotes-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

/* ==============================================================================
   BILLETE COLOMBIANO AUTÉNTICO
   ============================================================================== */
.cop-banknote {
    width: 100%;
    height: 78px;
    border-radius: 8px;
    padding: 6px 10px;
    color: #FFF;
    position: relative;
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.22),
        inset 0 0 0 1.5px rgba(255,255,255,0.4),
        inset 0 0 14px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    user-select: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.cop-banknote:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

/* Banda de Seguridad Holográfica Vertical */
.cop-banknote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28%;
    width: 14px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.1) 0%,
        rgba(246,217,138,0.45) 25%,
        rgba(54,149,181,0.4) 50%,
        rgba(246,217,138,0.45) 75%,
        rgba(255,255,255,0.1) 100%
    );
    border-left: 1px dashed rgba(255,255,255,0.4);
    border-right: 1px dashed rgba(255,255,255,0.4);
    pointer-events: none;
    z-index: 2;
}

/* Marca de Agua "LA TIERRITA" */
.cop-banknote::after {
    content: "LA TIERRITA • SYNCRONO";
    position: absolute;
    top: 50%;
    right: 12%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

/* Encabezado del Billete */
.bill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 2px;
}

.bill-bank-txt {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

.bill-multiplier-badge {
    background: rgba(0, 0, 0, 0.65);
    color: #F6D98A;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 900;
    border: 1px solid rgba(246, 217, 138, 0.6);
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Centro del Billete */
.bill-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
}

.bill-motif-col {
    display: flex;
    flex-direction: column;
}

.bill-value-words {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.bill-figure-name {
    font-size: 0.52rem;
    opacity: 0.8;
    font-style: italic;
}

.bill-value-number {
    font-size: 1.55rem;
    font-weight: 900;
    font-family: 'Arial Black', Impact, sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Pie del Billete */
.bill-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.5rem;
    opacity: 0.75;
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2px;
}

/* ==============================================================================
   FAMILIA DE BILLETES BANCO DE LA REPÚBLICA (PALETA EXACTA)
   ============================================================================== */

/* $100.000 COP - Carlos Lleras Restrepo / Valle de Cocora */
.bill-100k {
    background: linear-gradient(135deg, #0D3E21 0%, #15572E 50%, #1F7A42 100%);
    border: 1px solid #2E8B57;
}

/* $50.000 COP - Gabriel García Márquez / Ciudad Perdida */
.bill-50k {
    background: linear-gradient(135deg, #3A0C6B 0%, #551E8E 50%, #7B2CBF 100%);
    border: 1px solid #9D4EDD;
}

/* $20.000 COP - Alfonso López Michelsen / Canales de la Mojana */
.bill-20k {
    background: linear-gradient(135deg, #993D00 0%, #C45500 50%, #F57C00 100%);
    border: 1px solid #FF9800;
}

/* $10.000 COP - Virginia Gutiérrez / Amazonía */
.bill-10k {
    background: linear-gradient(135deg, #7A0C0C 0%, #A81E1E 50%, #D32F2F 100%);
    border: 1px solid #E53935;
}

/* $5.000 COP - José Asunción Silva / Páramos */
.bill-5k {
    background: linear-gradient(135deg, #3E2723 0%, #5D4037 50%, #795548 100%);
    border: 1px solid #8D6E63;
}

/* $2.000 COP - Débora Arango / Caño Cristales */
.bill-2k {
    background: linear-gradient(135deg, #004D40 0%, #00695C 50%, #00897B 100%);
    border: 1px solid #26A69A;
}

/* ==============================================================================
   MONEDAS METÁLICAS Y BIMETÁLICAS (BANREP)
   ============================================================================== */
.coins-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.coin-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.coin {
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.35),
        inset 0 2px 4px rgba(255,255,255,0.7),
        inset 0 -2px 4px rgba(0,0,0,0.5);
    position: relative;
    user-select: none;
    transition: transform 0.2s;
}

.coin:hover {
    transform: scale(1.1) rotate(5deg);
}

.coin-50 {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle, #EEEEEE 0%, #BDBDBD 100%);
    color: #424242;
    font-size: 0.65rem;
    border: 2px solid #9E9E9E;
}

.coin-100 {
    width: 38px;
    height: 38px;
    background: radial-gradient(circle, #FFE082 0%, #FFA000 100%);
    color: #4E342E;
    font-size: 0.7rem;
    border: 2px solid #FF8F00;
}

.coin-200 {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #ECEFF1 0%, #90A4AE 100%);
    color: #263238;
    font-size: 0.75rem;
    border: 2px solid #78909C;
}

/* Moneda Bimetálica de $500 (Centro Dorado, Anillo Plateado) */
.coin-500 {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle, #FFD54F 40%, #B0BEC5 48%, #90A4AE 100%);
    color: #37474F;
    font-size: 0.8rem;
    border: 2.5px solid #78909C;
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.4),
        inset 0 0 0 2px rgba(255,213,79,0.7),
        inset 0 2px 4px rgba(255,255,255,0.7);
}

/* Moneda Bimetálica de $1.000 (Centro Plateado, Anillo Dorado) */
.coin-1000 {
    width: 48px;
    height: 48px;
    background: radial-gradient(circle, #FFFFFF 38%, #FFA000 48%, #D4AF37 100%);
    color: #3E2723;
    font-size: 0.85rem;
    border: 2.5px solid #B78A00;
    box-shadow: 
        0 5px 12px rgba(0,0,0,0.45),
        inset 0 0 0 2px rgba(255,255,255,0.8),
        inset 0 2px 5px rgba(255,255,255,0.8);
}

.coin-count-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: #475569;
}
