/* ============================================================
   BLYNT WARRANTY REGISTRATION — Form Styles
   ============================================================ */

.blynt-warranty-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 120px 4vw 80px 4vw;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.warranty-intro {
    text-align: center;
    margin-bottom: 48px;
}

.warranty-intro h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -1px;
    line-height: 1.15;
}

.warranty-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.warranty-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin: 0;
    line-height: 1.7;
}

/* FORM */
.blynt-warranty-form {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px;
    box-sizing: border-box;
}

.warranty-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.warranty-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.warranty-field--full {
    grid-column: 1 / -1;
}

.warranty-field label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
}

.req { color: #e11d48; }

.warranty-field input[type="text"],
.warranty-field input[type="email"],
.warranty-field select,
.warranty-field textarea {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    font-family: inherit !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
}

.warranty-field input:focus,
.warranty-field select:focus,
.warranty-field textarea:focus {
    border-color: rgba(225,29,72,0.5) !important;
    background: rgba(255,255,255,0.08) !important;
}

.warranty-field input::placeholder,
.warranty-field textarea::placeholder {
    color: rgba(255,255,255,0.25) !important;
}

.warranty-field select option {
    background: #1a1a2e;
    color: #ffffff;
}

.warranty-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* STATUS OPTIONS */
.warranty-status-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.warranty-status-option {
    cursor: pointer;
}

.warranty-status-option input[type="radio"] {
    display: none;
}

.status-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 80px;
    justify-content: center;
    box-sizing: border-box;
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.status-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.status-card--good .status-icon { color: #4ade80; }
.status-card--neutral .status-icon { color: #facc15; }
.status-card--help .status-icon { color: #e11d48; }

.warranty-status-option input:checked + .status-card--good {
    border-color: #4ade80;
    background: rgba(74,222,128,0.08);
    color: #ffffff;
}

.warranty-status-option input:checked + .status-card--neutral {
    border-color: #facc15;
    background: rgba(250,204,21,0.08);
    color: #ffffff;
}

.warranty-status-option input:checked + .status-card--help {
    border-color: #e11d48;
    background: rgba(225,29,72,0.08);
    color: #ffffff;
}

.status-card:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
}

/* CONSENT */
.warranty-consent {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 20px;
}

.warranty-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    font-weight: normal !important;
}

.warranty-checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
    accent-color: #e11d48;
    cursor: pointer;
}

/* ERROR */
.warranty-error {
    background: rgba(225,29,72,0.1);
    border: 1px solid rgba(225,29,72,0.3);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    color: #ff6b8a;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* SUBMIT BUTTON */
.warranty-submit-btn {
    width: 100%;
    background: #e11d48;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.warranty-submit-btn:hover {
    background: #be1038;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(225,29,72,0.35);
}

.warranty-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* SUCCESS PAGE */
.blynt-warranty-success {
    text-align: center;
    padding-top: 140px;
}

.warranty-success-icon {
    width: 72px;
    height: 72px;
    background: rgba(74,222,128,0.1);
    border: 2px solid #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #4ade80;
    margin: 0 auto 28px auto;
}

.blynt-warranty-success h1 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px 0;
    letter-spacing: -1px;
}

.warranty-success-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.warranty-success-note {
    display: inline-block;
    font-size: 14px;
    font-style: italic;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 500px;
}

.warranty-success-note--good {
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.2);
    color: rgba(255,255,255,0.65);
}

.warranty-success-note--help {
    background: rgba(225,29,72,0.07);
    border: 1px solid rgba(225,29,72,0.2);
    color: rgba(255,255,255,0.65);
}

.warranty-success-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.warranty-btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-family: inherit;
}

.warranty-btn-primary {
    background: #e11d48;
    color: #ffffff;
    border: 1px solid #e11d48;
}

.warranty-btn-primary:hover {
    background: #be1038;
    transform: translateY(-2px);
}

.warranty-btn-secondary {
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
}

.warranty-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .blynt-warranty-wrap { padding: 110px 4vw 60px 4vw; }
    .blynt-warranty-form { padding: 24px 20px; }
    .warranty-fields { grid-template-columns: 1fr; }
    .warranty-status-options { grid-template-columns: 1fr; }
    .status-card { flex-direction: row; justify-content: flex-start; padding: 14px 16px; min-height: auto; }
    .status-icon { flex-shrink: 0; }
    .blynt-warranty-success { padding-top: 110px; }
    .blynt-warranty-success h1 { font-size: 28px; }
}

/* ============================================================
   PRODUCT PICKER — WooCommerce thumbnail cards
   ============================================================ */
.warranty-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.warranty-product-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

.warranty-product-card:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.warranty-product-card.selected {
    border-color: #e11d48;
    background: rgba(225,29,72,0.08);
}

.warranty-product-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f5f5;
    display: block;
}

.warranty-product-card span {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.warranty-product-card.selected span {
    color: #ffffff;
}

.warranty-product-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #e11d48;
    border-radius: 50%;
    font-size: 11px;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.warranty-product-card.selected .warranty-product-check {
    display: flex;
}

@media (max-width: 768px) {
    .warranty-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .warranty-product-card img {
        width: 64px;
        height: 64px;
    }
}

/* ============================================================
   SUPPORT PANEL — shown when "I need help" is selected
   ============================================================ */
.warranty-support-panel {
    background: rgba(225,29,72,0.05);
    border: 1px solid rgba(225,29,72,0.2);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.warranty-support-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.warranty-support-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.warranty-support-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.warranty-support-header p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.warranty-support-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.warranty-support-divider::before,
.warranty-support-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.warranty-support-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.warranty-support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.warranty-support-btn--whatsapp {
    background: #25d366;
    color: #ffffff;
}

.warranty-support-btn--whatsapp:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

.warranty-support-btn--email {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
}

.warranty-support-btn--email:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
}

.warranty-support-note {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin: 0;
    line-height: 1.6;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 768px) {
    .warranty-support-buttons {
        grid-template-columns: 1fr;
    }
    .warranty-support-panel {
        padding: 18px 16px;
    }
}
