/* ============================================
   NFC State Selector Widget
   ============================================ */

.nfc-ss,
.nfc-ss *,
.nfc-ss *::before,
.nfc-ss *::after {
    box-sizing: border-box;
}

.nfc-ss {
    width: 100%;
    max-width: 600px;
    font-family: 'Inter', sans-serif;
}

/* Row layout — dropdown + button side by side */
.nfc-ss .nfc-ss-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

/* Dropdown */
.nfc-ss .nfc-ss-field {
    flex: 1;
    min-width: 0;
}

.nfc-ss .nfc-ss-select {
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px 40px 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    background-color: #FFFFFF;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nfc-ss .nfc-ss-select:focus {
    border-color: #2E7CF6;
    box-shadow: 0 0 0 3px rgba(46, 124, 246, 0.15);
}

/* Coming soon option styling (via JS class on select) */
.nfc-ss .nfc-ss-select.has-unavailable {
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Button */
.nfc-ss .nfc-ss-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    background-color: #1A365D;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    flex-shrink: 0;
}

.nfc-ss .nfc-ss-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.35);
    filter: brightness(1.15);
}

.nfc-ss .nfc-ss-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    filter: none;
}

/* Message */
.nfc-ss .nfc-ss-message {
    background-color: #FEF3C7;
    color: #92400E;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 10px;
    animation: nfcSsSlide 0.25s ease;
}

@keyframes nfcSsSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 480px) {
    .nfc-ss .nfc-ss-row {
        flex-direction: column;
    }

    .nfc-ss .nfc-ss-select {
        font-size: 14px;
        padding: 12px 36px 12px 14px;
    }

    .nfc-ss .nfc-ss-btn {
        font-size: 14px;
        padding: 12px 20px;
        width: 100%;
    }
}
