.nsk-codes-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.nsk-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.nsk-code-row:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.nsk-code-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 80%;
}

.nsk-code-top-group {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    max-width: 100%;
}

/* Soft purple code badge */
.nsk-code-value {
    background: #efe7fc;
    color: #5b21b6;
    font-weight: 700;
    font-size: 15px;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: inherit;
    position: relative;
    letter-spacing: 0.3px;
    word-break: break-all;
    overflow-wrap: anywhere;
    max-width: 100%;
}

/* Curved arrow */
.nsk-code-value::after {
    content: '';
    position: absolute;
    bottom: -27px;
    left: 8px;
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 4 2 C 4 13, 4 18, 18 18' /%3E%3Cpath d='M 13 13 L 19 18 L 13 23' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Orange NEW badge */
.nsk-code-flag {
    background: #ea580c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* Reward badges wrapper */
.nsk-code-rewards {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
    padding-left: 36px;
}

.nsk-reward-badge {
    background: #f3f4f6;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 6px;
}

/* Copy button */
.nsk-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nsk-copy-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}

/* Copied state */
.nsk-copy-btn.copied {
    background: #4c1d95;
    color: #ffffff;
    border-color: #4c1d95;
}

/* Expired codes accordion */
.nsk-expired-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    margin: 15px 0 10px;
    transition: all 0.2s ease;
}

.nsk-expired-toggle:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

.nsk-expired-toggle .arrow {
    transition: transform 0.2s ease;
}

.nsk-expired-toggle.active .arrow {
    transform: rotate(180deg);
}

/* Responsive styles */
@media (max-width: 640px) {
    .nsk-code-left {
        max-width: 100%;
    }

    .nsk-code-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    
    .nsk-copy-btn {
        width: 100%;
        justify-content: center;
    }
}