/*
Theme Name: Newsletter Blank
Theme URI: 
Author: 
Author URI: 
Description: Tema minimale per un sito WordPress dedicato esclusivamente all'invio di newsletter tramite FluentCRM. Non pubblica contenuti: mostra solo il testo essenziale delle pagine di servizio generate da FluentCRM (disiscrizione, gestione preferenze, anteprima email). Nessun menu, nessuna sidebar, nessun widget.
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newsletter-blank
*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 3rem 1.5rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	background: #fafafa;
}

.ntb-wrap {
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	padding: 2rem;
	border-radius: 6px;
}

.ntb-wrap h1 {
	font-size: 1.4rem;
	margin-top: 0;
}

.ntb-wrap a {
	color: #333;
}

/* ==========================================================================
   Pagine di servizio FluentCRM (disiscrizione, gestione preferenze)
   Queste pagine non passano dal tema: FluentCRM genera un proprio <body
   class="fc_unsub">, quindi le regole sotto valgono solo lì e non
   interferiscono in alcun modo con .ntb-wrap.
   ========================================================================== */

body.fc_unsub {
	background: #fafafa;
	padding: 3rem 1.5rem;
	box-sizing: border-box;
}

.fluentcrm_unsubscribe_wrapper {
	max-width: 480px;
	margin: 0 auto;
}

.fluentcrm_un_logo_wrapper {
	text-align: center;
	margin-bottom: 1.5rem;
}

.fluentcrm_un_logo_wrapper img {
	max-width: 160px;
	height: auto;
}

.fluentcrm_un_form_wrapper_inner {
	background: #fff;
	border-radius: 8px;
	padding: 2rem;
	box-sizing: border-box;
}

.fluentcrm_un_form_wrapper_inner h3,
.fluentcrm_un_form_wrapper > h3 {
	font-size: 1.4rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.fluentcrm_un_form_wrapper_inner > p {
	color: #666;
	margin: 0 0 1.5rem;
}

.fluentcrm_form_item,
.fc_field {
	margin-bottom: 1.25rem;
}

.fluentcrm_form_item > label,
.fc_field > label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
	font-weight: 500;
}

.fluentcrm_radio_group label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
	margin-bottom: 0.6rem;
	cursor: pointer;
}

.fluentcrm_radio_group input[type="radio"] {
	margin-top: 0.2rem;
}

.fluentcrm_form_control,
.fc_input_control {
	width: 100%;
	padding: 0.6rem 0.8rem;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 0.95rem;
	box-sizing: border-box;
	font-family: 'Work Sans', Montserrat, sans-serif;
}

.fluentcrm_form_control[readonly] {
	background: #f5f5f5;
	color: #777;
}

.fc_manage_sub_form {
	background: #fff;
	border-radius: 8px;
	padding: 2rem;
	box-sizing: border-box;
}

#fluentcrm_unsubscribe_submit,
#fluentcrm_preferences_submit {
	background: #222222;
	color: #fff;
	border: none;
	border-radius: 6px;
	width: 100%;
	padding: 0.75rem 1.75rem;
	font-size: 0.95rem;
	cursor: pointer;
	font-family: 'Work Sans', Montserrat, sans-serif;
}

#fluentcrm_unsubscribe_submit:hover,
#fluentcrm_preferences_submit:hover {
	background: #bb935a;
	opacity: 0.9;
}

.fluentcrm_form_responses {
	margin-top: 1rem;
}