.giftaccess-topup-player-field {
    background: #131b2e;
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 16px;
    box-shadow: none;
    margin: 1.5rem 0 1rem;
    max-width: min(100%, 820px);
    padding: 20px;
}

.giftaccess-topup-player-field * {
    box-sizing: border-box;
}

.giftaccess-topup-sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.giftaccess-topup-player-heading {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.giftaccess-topup-player-heading label {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.giftaccess-topup-player-badge {
    align-items: center;
    background: rgba(245, 176, 33, 0.14);
    border: 1px solid rgba(245, 176, 33, 0.35);
    border-radius: 999px;
    color: #f5b021;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    min-height: 28px;
    padding: 0 10px;
    white-space: nowrap;
}

.giftaccess-topup-verify-row {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}

.giftaccess-topup-input-shell {
    min-width: 0;
    position: relative;
}

.giftaccess-topup-player-input {
    background: #0d1424;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    min-height: 54px;
    min-width: 0;
    padding: 0 44px 0 16px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    width: 100%;
}

.giftaccess-topup-player-input::placeholder {
    color: #8b96ad;
}

.giftaccess-topup-player-input:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
    outline: 0;
}

.giftaccess-topup-input-state {
    border: 2px solid #8b96ad;
    border-radius: 50%;
    height: 14px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
}

.giftaccess-topup-player-field.is-loading .giftaccess-topup-input-state {
    animation: giftaccessTopupInputSpin 0.8s linear infinite;
    border-color: #22d3ee #22d3ee #22d3ee transparent;
}

.giftaccess-topup-player-field.is-verified .giftaccess-topup-input-state {
    background: #4ade80;
    border-color: #4ade80;
}

.giftaccess-topup-player-field.is-error .giftaccess-topup-input-state {
    background: #f87171;
    border-color: #f87171;
}

.giftaccess-topup-verify-button {
    align-items: center;
    background: #22d3ee;
    border: 1px solid #22d3ee;
    border-radius: 10px;
    color: #07101d;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    letter-spacing: 0;
    min-height: 54px;
    min-width: 146px;
    padding: 0 20px;
    text-transform: uppercase;
    transition: transform 0.16s ease, filter 0.16s ease, opacity 0.16s ease;
    white-space: nowrap;
}

.giftaccess-topup-verify-button:hover,
.giftaccess-topup-verify-button:focus {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.giftaccess-topup-verify-button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.giftaccess-topup-spinner {
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-left-color: #07101d;
    border-radius: 50%;
    display: none;
    height: 14px;
    width: 14px;
}

.giftaccess-topup-player-field.is-loading .giftaccess-topup-spinner {
    animation: giftaccessTopupSpin 0.8s linear infinite;
    display: inline-block;
}

.giftaccess-topup-required-note {
    color: #8b96ad;
    font-size: 13px;
    line-height: 1.45;
    margin: 12px 0 0;
}

.giftaccess-topup-verify-result {
    margin-top: 14px;
}

.giftaccess-topup-result-card {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    gap: 12px;
    padding: 14px;
}

.giftaccess-topup-result-card strong {
    color: #ffffff;
    display: block;
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.giftaccess-topup-result-card p {
    color: #c3cadb;
    display: grid;
    gap: 4px;
    line-height: 1.45;
    margin: 6px 0 0;
}

.giftaccess-topup-result-icon {
    border-radius: 50%;
    flex: 0 0 28px;
    height: 28px;
    margin-top: 1px;
    position: relative;
    width: 28px;
}

.giftaccess-topup-result-success {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.35);
}

.giftaccess-topup-result-success .giftaccess-topup-result-icon {
    background: #4ade80;
}

.giftaccess-topup-result-success .giftaccess-topup-result-icon:after {
    border: solid #07101d;
    border-width: 0 2px 2px 0;
    content: "";
    height: 10px;
    left: 10px;
    position: absolute;
    top: 6px;
    transform: rotate(45deg);
    width: 6px;
}

.giftaccess-topup-result-error {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.35);
}

.giftaccess-topup-result-error .giftaccess-topup-result-icon {
    background: #f87171;
}

.giftaccess-topup-result-error .giftaccess-topup-result-icon:before,
.giftaccess-topup-result-error .giftaccess-topup-result-icon:after {
    background: #07101d;
    content: "";
    height: 2px;
    left: 8px;
    position: absolute;
    top: 13px;
    width: 12px;
}

.giftaccess-topup-result-error .giftaccess-topup-result-icon:before {
    transform: rotate(45deg);
}

.giftaccess-topup-result-error .giftaccess-topup-result-icon:after {
    transform: rotate(-45deg);
}

.giftaccess-topup-result-loading {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.3);
}

.giftaccess-topup-result-loading .giftaccess-topup-result-icon {
    border: 3px solid rgba(34, 211, 238, 0.35);
    border-left-color: #22d3ee;
    animation: giftaccessTopupSpin 0.8s linear infinite;
}

.giftaccess-topup-player-field.is-verified {
    border-color: rgba(74, 222, 128, 0.45);
}

.giftaccess-topup-player-field.is-error {
    border-color: rgba(248, 113, 113, 0.45);
}

@keyframes giftaccessTopupSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes giftaccessTopupInputSpin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@media (max-width: 640px) {
    .giftaccess-topup-player-field {
        padding: 16px;
    }

    .giftaccess-topup-player-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .giftaccess-topup-player-badge {
        width: 100%;
    }

    .giftaccess-topup-verify-row {
        grid-template-columns: 1fr;
    }

    .giftaccess-topup-result-card {
        padding: 12px;
    }
}
