/* =======================================================
   CARNELIO MONEY UI KIT
   ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@700;800&display=swap');

/* --- CONFIGURACIÓN BASE --- */
.money-icon {
    font-family: 'Sora', sans-serif;
    /* Fuente Clave */
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    box-sizing: border-box;
}

/* --- ESTILO GENERAL BILLETE (Base) --- */
.bill {
    width: 90px;
    height: 44px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    transition: transform 0.2s;
}

.bill:hover {
    transform: translateY(-2px);
}

/* Texto con borde moderno (Stroke) */
.bill-text {
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    -webkit-text-stroke: 4px rgba(0, 0, 0, 0.2);
    /* Sombra dura */
    paint-order: stroke fill;
}

.bill-text span {
    position: relative;
    -webkit-text-stroke: 0px transparent;
    /* Limpia herencia */
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
    /* Definición extra */
}

/* Banda de Seguridad (Holograma) */
.bill::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    z-index: 1;
    opacity: 0.6;
}

/* Patrón de fondo (Textura) */
.bill::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 6px 6px;
    mix-blend-mode: overlay;
}

/* --- COLORES BILLETES (Gradients) --- */
.b-2k {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

/* Azul */
.b-5k {
    background: linear-gradient(135deg, #B45309 0%, #78350F 100%);
}

/* Café */
.b-10k {
    background: linear-gradient(135deg, #EF4444 0%, #991B1B 100%);
}

/* Rojo */
.b-20k {
    background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%);
}

/* Naranja */
.b-50k {
    background: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 100%);
}

/* Violeta */
.b-100k {
    background: linear-gradient(135deg, #10B981 0%, #065F46 100%);
    border: 1px solid #34D399;
}

/* Verde */


/* --- ESTILO GENERAL MONEDA (Base) --- */
.coin {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: #E2E8F0;
    /* Fallback */
    color: #475569;
}

/* Brillo Metálico */
.coin::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
    opacity: 0.5;
    pointer-events: none;
}

/* --- COLORES MONEDAS --- */
.c-50,
.c-200 {
    background: #E2E8F0;
    color: #475569;
}

.c-100 {
    background: #FCD34D;
    color: #92400E;
    border-color: #F59E0B;
}

.c-500 {
    background: radial-gradient(circle, #FCD34D 50%, transparent 50.5%), #E2E8F0;
    color: #78350F;
}

.c-1000 {
    background: radial-gradient(circle, #E2E8F0 50%, transparent 50.5%), #FCD34D;
    color: #1E293B;
}