#hydra-topup-app .hydra-payment-selector {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 10px;
}

#hydra-topup-app .hydra-topup-payment-card {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    min-height: 0;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    overflow: hidden;
    color: #fff;
    background: #020a06;
    border: 1px solid rgba(112, 255, 0, 0.32);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

#hydra-topup-app .hydra-topup-payment-card:hover {
    background: #06130b;
    border-color: rgba(112, 255, 0, 0.65);
}

#hydra-topup-app .hydra-topup-payment-card.is-selected {
    background: #07170c;
    border-color: #70ff00;
    box-shadow: inset 0 0 0 1px rgba(112, 255, 0, 0.22);
}

#hydra-topup-app .hydra-topup-payment-card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#hydra-topup-app .hydra-topup-payment-card:has(input:focus-visible) {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

#hydra-topup-app .hydra-topup-payment-card__content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

#hydra-topup-app .hydra-topup-payment-card__heading {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#hydra-topup-app .hydra-topup-payment-card__title {
    min-width: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
}

#hydra-topup-app .hydra-topup-payment-card__description {
    color: #9ad27e;
    font-size: 13px;
    line-height: 1.4;
}

#hydra-topup-app .hydra-topup-payment-card__icons {
    display: inline-flex;
    min-width: 30px;
    min-height: 26px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 3px 5px;
    background: #fff;
    border-radius: 6px;
}

#hydra-topup-app .hydra-topup-payment-card__icons img {
    display: block;
    width: auto;
    max-width: 76px;
    height: 22px;
    margin: 0;
    object-fit: contain;
}

#hydra-topup-app .hydra-topup-payment-card__marker {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 2px solid #70ff00;
    border-radius: 50%;
}

#hydra-topup-app .hydra-topup-payment-card.is-selected .hydra-topup-payment-card__marker {
    background: #70ff00;
    box-shadow: inset 0 0 0 4px #07170c;
}

#hydra-topup-app .hydra-payment-selector__error,
#hydra-topup-app .hydra-payment-selector__empty {
    margin: 10px 0 0;
    color: #ff6b6b;
    font-size: 14px;
}

@media (max-width: 900px) {
    #hydra-topup-app .hydra-payment-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    #hydra-topup-app .hydra-payment-selector {
        grid-template-columns: minmax(0, 1fr);
    }

    #hydra-topup-app .hydra-topup-payment-card {
        min-height: 0;
        padding: 14px;
    }
}
