/* SZ Protection Plan - Styles */

/* Wrapper del checkbox */
.szfp-protection-wrapper { width: 100%; margin: 1rem 0; padding: 12px 16px; border: 1px solid #e0e0e0; border-radius: 8px; background: #fafafa; }
.szfp-protection-checkbox-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.szfp-protection-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 500; }
.szfp-protection-label input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: #000; }
.szfp-price { color: #333; font-weight: 600; }
.szfp-learn-more { font-size: 13px; color: #555; text-decoration: underline; white-space: nowrap; }
.szfp-learn-more:hover { color: #000; }

/* Modal Overlay */
.szfp-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 99999; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.szfp-modal-overlay.active { display: flex; }

/* Modal */
.szfp-modal { background: #fff; border-radius: 12px; max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); font-family: "Lato", Sans-serif; }
.szfp-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid #a38564; position: sticky; top: 0; background: #fff; z-index: 1; }
.szfp-modal-header h2 { margin: 0; font-size: 1.75rem; font-weight: 900; }
.szfp-modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #000; padding: 4px 8px; border-radius: 4px; line-height: 1; }
.szfp-modal-close:hover { background: #f0f0f0; color: #000; }
.szfp-modal-body { padding: 1rem 1.5rem; }
.szfp-modal-body h3 { font-size: 1.5rem; font-weight: 600; }
.szfp-modal-footer { padding: 16px 24px; border-top: 1px solid #eee; text-align: center; position: sticky; bottom: 0; background: #fff; }

/* Features list */
.szfp-features { list-style: none; padding: 0; margin: 0 0 12px; }
.szfp-features li { padding: 4px 0; color: #00a32a; font-weight: 500; }
.szfp-note { color: #666; font-size: 13px; margin: 0 0 16px; }

/* Divider */
.szfp-modal-body hr { border: none; border-top: 1px solid #a38564; margin: 20px 0; }

/* Sections */
.szfp-section { margin-bottom: 8px; }
.szfp-section h3 { font-size: 1.5rem; margin: 0 0 0.625rem; }

/* FAQ */
.szfp-faq { margin-top: 10px; }
.szfp-faq-item { border-bottom: 1px solid #ccc; }
.szfp-faq-question { width: 100%; background: none; border: none; padding: 12px 0; text-align: left; font-size: 1.125rem; font-weight: 400; font-style: italic; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #222; }
.szfp-faq-question:hover, .szfp-faq-question:focus { background: transparent; color: #000; }
.szfp-faq-icon { font-size: 12px; transition: transform 0.2s; flex-shrink: 0; margin-left: 10px; }
.szfp-faq-item.active .szfp-faq-icon { transform: rotate(180deg); }
.szfp-faq-answer { display: none; padding: 0 0 12px; color: #111; font-size: 1rem; line-height: 1.6; }
.szfp-faq-answer p { margin: 0; }

/* Buttons */
.szfp-btn { display: inline-block; padding: 0.5rem 1rem; background: #000 !important; border-radius: 0 !important; font-size: 1.125rem; font-weight: 700 !important; color: #fff !important; border: 0 !important; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.szfp-btn-primary { background: #000; color: #fff; border-color: #000; width: 100%; text-align: center; }
.szfp-btn-primary:hover { background: #333; }
/*.szfp-btn-outline { background: transparent; color: #000; border-color: #000; }*/
.szfp-btn-outline:hover { background: #000; color: #fff; }

/* Claim Form */
.szfp-claim-form { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #eee; }
.szfp-claim-form h3 { font-size: 1.125rem; margin: 0 0 1rem; }
.szfp-form-group { margin-bottom: 14px; }
.szfp-form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; color: #333; }
.szfp-form-group input, .szfp-form-group textarea { width: 100%; padding: 9px 12px; border: 1px solid #ddd; border-radius: 0; font-size: 1rem; box-sizing: border-box; }
.szfp-form-group input:focus, .szfp-form-group textarea:focus { outline: none; border-color: #000; }
.szfp-claim-notice { background: #fff8e1; padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 16px; border-left: 3px solid #ffc107; }
.szfp-claim-warning { font-size: 12px; color: #c62828; margin-bottom: 16px; line-height: 1.5; }
.szfp-claim-response { margin-top: 12px; padding: 10px; border-radius: 6px; font-size: 14px; display: none; }
.szfp-claim-response.success { background: #e8f5e9; color: #2e7d32; display: block; }
.szfp-claim-response.error { background: #ffebee; color: #c62828; display: block; }

/* Mobile */
@media (max-width: 600px) {
	.szfp-protection-checkbox-row { flex-direction: column; align-items: flex-start; gap: 8px; }
	.szfp-modal { border-radius: 12px 12px 0 0; position: fixed; bottom: 0; left: 0; right: 0; max-width: 100%; max-height: 85vh; }
	.szfp-modal-overlay.active { align-items: flex-end; padding: 0; }
}
