.recharge-wrapper {
    max-width: 1040px;
    margin: 30px auto;
    padding: 24px;
    background: rgba(255,255,255,0.92);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.20);
    box-sizing: border-box;
}

.recharge-wrapper * {
    box-sizing: border-box;
}

.recharge-header {
    text-align: center;
    margin-bottom: 28px;
}

.recharge-header h1 {
    margin: 0 0 8px 0;
    font-size: 30px;
    font-weight: 700;
    color: #1c2b45 !important;
    line-height: 1.2;
}

.recharge-header p {
    margin: 0;
    font-size: 16px;
    color: #7d8eab !important;
    line-height: 1.5;
}

.recharge-gateway {
    background: linear-gradient(180deg, rgba(21,30,54,0.96), rgba(17,24,43,0.98));
    border: 1px solid rgba(108,170,255,0.18);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 14px 34px rgba(0,0,0,.25);
}

.recharge-gateway-title {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(120,180,255,0.12);
}

.recharge-gateway-title img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.recharge-gateway-headtext h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #eaf4ff !important;
    line-height: 1.2;
}

.recharge-gateway-headtext span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #93b7dc !important;
}

.recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.recharge-card {
    position: relative;
    background: linear-gradient(180deg, rgba(41,49,88,0.94), rgba(27,33,59,0.98));
    border: 1px solid rgba(119,187,255,0.14);
    border-radius: 16px;
    padding: 18px;
    transition: all .2s ease;
    overflow: hidden;
}

.recharge-card:hover {
    transform: translateY(-3px);
    border-color: rgba(98,198,255,0.38);
    box-shadow: 0 10px 26px rgba(0,0,0,.30);
}

.recharge-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.recharge-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff !important;
    background: linear-gradient(90deg, #42b8ff, #72d8ff);
}

.recharge-label.gold {
    background: linear-gradient(90deg, #d39a0a, #ffd34d);
    color: #2d2200 !important;
}

.recharge-label.green {
    background: linear-gradient(90deg, #1ca86e, #31d38c);
    color: #ffffff !important;
}

.recharge-label.red {
    background: linear-gradient(90deg, #c83f52, #f26176);
    color: #ffffff !important;
}

.recharge-label.blue {
    background: linear-gradient(90deg, #3ba7ff, #6fdcff);
    color: #ffffff !important;
}

.recharge-label.purple {
    background: linear-gradient(90deg, #5f78ff, #7bb7ff);
    color: #ffffff !important;
}

.recharge-coins {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    margin: 0;
}

.recharge-price {
    font-size: 20px;
    font-weight: 800;
    color: #78d3ff !important;
    line-height: 1.2;
    white-space: nowrap;
    text-align: right;
}

.recharge-bonus {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #ffd66b !important;
    line-height: 1.4;
}

.recharge-description {
    min-height: 38px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #b9cce4 !important;
    line-height: 1.45;
}

.recharge-form {
    margin: 0;
}

.recharge-btn,
.recharge-btn:link,
.recharge-btn:visited,
.recharge-btn:hover,
.recharge-btn:active,
.recharge-btn:focus {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none !important;
    border: 0;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    color: #ffffff !important;
    background: linear-gradient(90deg, #3aa8ff 0%, #5bcfff 50%, #79dfff 100%) !important;
    box-shadow: 0 6px 18px rgba(47,165,255,.28);
    transition: all .2s ease;
}

.recharge-btn:hover,
.recharge-btn:focus {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(47,165,255,.35);
}

.recharge-instant {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: #88a6c8 !important;
}

.recharge-login-box,
.recharge-empty,
.recharge-empty-mini {
    background: rgba(20,20,30,.95);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    color: #eef6ff !important;
}

.recharge-login-box {
    max-width: 520px;
    margin: 30px auto;
}

.recharge-login-box h2,
.recharge-empty h2 {
    margin: 0 0 10px 0;
    color: #ffffff !important;
}

.recharge-login-box p,
.recharge-empty p,
.recharge-empty-mini {
    color: #b6c8dd !important;
}

@media (max-width: 768px) {
    .recharge-wrapper {
        padding: 16px;
        margin: 20px auto;
    }

    .recharge-header h1 {
        font-size: 25px;
    }

    .recharge-grid {
        grid-template-columns: 1fr;
    }

    .recharge-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .recharge-price {
        text-align: left;
    }
}

/* Selector de métodos de pago */
.recharge-method-selector {
    margin: 0 0 28px 0;
    padding: 20px;
    background: linear-gradient(180deg, rgba(21,30,54,0.96), rgba(17,24,43,0.98));
    border: 1px solid rgba(108,170,255,0.18);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0,0,0,.20);
}

.recharge-method-selector h2 {
    margin: 0 0 16px 0;
    text-align: center;
    font-size: 21px;
    font-weight: 800;
    color: #eaf4ff !important;
}

.recharge-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.recharge-method-card {
    width: 100%;
    min-height: 82px;
    border: 1px solid rgba(119,187,255,0.16);
    border-radius: 16px;
    padding: 14px;
    cursor: pointer;
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(41,49,88,0.94), rgba(27,33,59,0.98));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all .2s ease;
}

.recharge-method-card:hover {
    transform: translateY(-2px);
    border-color: rgba(98,198,255,0.38);
    box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

.recharge-method-card.active {
    border-color: rgba(91,207,255,0.85);
    box-shadow: 0 0 0 1px rgba(91,207,255,0.22), 0 10px 26px rgba(47,165,255,.18);
}

.recharge-method-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.recharge-method-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

.recharge-method-logo-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex: 0 0 auto;
}

.recharge-method-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.recharge-method-info strong {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.recharge-method-info small {
    margin-top: 4px;
    color: #93b7dc !important;
    font-size: 12px;
    line-height: 1.25;
}

.recharge-method-flag {
    margin-left: auto;
    font-size: 30px;
    line-height: 1;
    flex: 0 0 auto;
}

.recharge-gateway-panel {
    display: none;
}

.recharge-gateway-panel.active {
    display: block;
}

/* Ajuste para que el logo quede a la izquierda y la bandera a la derecha */
.recharge-gateway-title {
    justify-content: space-between;
}

.recharge-gateway-title-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.recharge-gateway-flag {
    margin-left: auto;
    font-size: 34px;
    line-height: 1;
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .recharge-method-grid {
        grid-template-columns: 1fr;
    }

    .recharge-method-card {
        min-height: 76px;
    }

    .recharge-method-flag {
        font-size: 28px;
    }
}