/* NFC Tag Bridge – Front-end styles */
/* Matches dark theme with orange accent */

/* ── Product page: NFC option box ─────────────────────────────────────────── */

.nfc-tag-option {
    margin: 1.25rem 0;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.nfc-tag-option__heading {
    margin: 0 0 0.85rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: inherit;
    letter-spacing: 0.01em;
}

.nfc-tag-option__label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.nfc-tag-option__label:last-child {
    margin-bottom: 0;
}

.nfc-tag-option__radio {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #f97316;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.nfc-tag-option__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nfc-tag-option__text strong {
    color: inherit;
    font-size: 0.9rem;
    font-weight: 600;
}

.nfc-tag-option__text small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    line-height: 1.45;
}

.nfc-tag-option__link {
    color: #f97316;
    text-decoration: none;
}

.nfc-tag-option__link:hover {
    text-decoration: underline;
}

/* ── URL Submission page ──────────────────────────────────────────────────── */

.nfc-submission-wrap {
    max-width: 640px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: inherit;
}

.nfc-submission-wrap h2 {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
    color: inherit;
}

.nfc-order-ref {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

.nfc-deadline-notice {
    background: rgba(249, 115, 22, 0.1);
    border-left: 4px solid #f97316;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #f97316;
}

.nfc-instructions {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
    color: inherit;
}

.nfc-instructions h3 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    color: inherit;
}

.nfc-instructions ol {
    margin: 0;
    padding-left: 1.4rem;
    color: rgba(255, 255, 255, 0.75);
}

.nfc-instructions li {
    margin-bottom: 0.4rem;
}

/* Form */
.nfc-form-group {
    margin-bottom: 1rem;
}

.nfc-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: inherit;
}

.nfc-form-group input[type="url"] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.nfc-form-group input[type="url"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.nfc-form-group input[type="url"]:focus {
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.nfc-submit-btn {
    background: #f97316;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
    margin-top: 0.5rem;
}

.nfc-submit-btn:hover:not(:disabled) {
    background: #ea6b0a;
}

.nfc-submit-btn:active:not(:disabled) {
    transform: scale(0.99);
}

.nfc-submit-btn:disabled {
    background: rgba(249, 115, 22, 0.35);
    cursor: not-allowed;
}

/* Messages */
.nfc-form-message {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.nfc-form-message--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.nfc-form-message--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Notice boxes */
.nfc-notice {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.nfc-notice--error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    color: #fca5a5;
}

.nfc-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nfc-box--success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.nfc-box--success h2 {
    color: #6ee7b7;
    margin-top: 0;
}

