/* ==========================================================================
   Imperial Dog & Cat — Contact page & WPForms styling
   Scope : .wpforms-container (site-wide WPForms) + IDs de colonnes
           spécifiques à la page contact créée par inc/contact-setup.php
   ========================================================================== */

/* ============================================================
   SECTION CONTACT — espacement colonnes
   ============================================================ */
.elementor-element.elementor-element-idccol1,
.elementor-element.elementor-element-idccol2 {
	margin: 0 12px;
}

@media (max-width: 768px) {
	.elementor-element.elementor-element-idccol1,
	.elementor-element.elementor-element-idccol2 {
		margin: 12px 0;
	}
}

/* ============================================================
   COLONNE DROITE — box "IMPERIAL DOGS"
   Remplace le fond noir pur par un gradient terra → marine
   pour que le texte reste lisible
   ============================================================ */
.elementor-element.elementor-element-idccol2,
.elementor-column.elementor-element-idccol2,
.elementor .elementor-element-idccol2 {
	background-image: none !important;
}

/* Force TOUS les textes à être blancs dans la colonne droite */
.elementor-element-idccol2,
.elementor-element-idccol2 p,
.elementor-element-idccol2 h1,
.elementor-element-idccol2 h2,
.elementor-element-idccol2 h3,
.elementor-element-idccol2 h4,
.elementor-element-idccol2 strong,
.elementor-element-idccol2 span,
.elementor-element-idccol2 .elementor-widget-container,
.elementor-element-idccol2 .elementor-widget-text-editor {
	color: #FFFFFF !important;
}

.elementor-element-idccol2 h3 {
	font-family: "Nunito", sans-serif;
	font-weight: 900;
	font-size: 26px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.elementor-element-idccol2 p {
	font-family: "Nunito Sans", sans-serif;
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 16px;
}

.elementor-element-idccol2 strong {
	font-weight: 800;
	color: #FFFFFF !important;
	display: block;
	margin-bottom: 2px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.85;
}

.elementor-element-idccol2 a {
	color: #FFFFFF !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.elementor-element-idccol2 a:hover {
	border-bottom-color: #FFFFFF;
	opacity: 0.85;
}

/* ============================================================
   WPFORMS — Inputs, selects, textarea, file upload
   Scope global : toutes les formes WPForms du site
   ============================================================ */

.wpforms-container {
	font-family: "Nunito Sans", sans-serif;
}

/* Largeur uniforme : override les classes .wpforms-field-small/medium/large
   qui limitent la largeur par défaut */
.wpforms-container .wpforms-field,
.wpforms-container .wpforms-field-row,
.wpforms-container .wpforms-field-container {
	max-width: 100% !important;
	width: 100% !important;
}

.wpforms-container .wpforms-field-small input,
.wpforms-container .wpforms-field-small select,
.wpforms-container .wpforms-field-small textarea,
.wpforms-container .wpforms-field-medium input,
.wpforms-container .wpforms-field-medium select,
.wpforms-container .wpforms-field-medium textarea,
.wpforms-container .wpforms-field-large input,
.wpforms-container .wpforms-field-large select,
.wpforms-container .wpforms-field-large textarea,
.wpforms-container .wpforms-field input[type="text"],
.wpforms-container .wpforms-field input[type="email"],
.wpforms-container .wpforms-field input[type="tel"],
.wpforms-container .wpforms-field select,
.wpforms-container .wpforms-field textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.wpforms-container .wpforms-field-label {
	font-family: "Nunito", sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #1A1A1A;
	margin-bottom: 8px;
	letter-spacing: 0.01em;
}

.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field-description {
	font-size: 12px;
	color: #707070;
	margin-top: 6px;
}

/* ---------- Inputs / email / textarea / select ---------- */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container input[type="number"],
.wpforms-container input[type="password"],
.wpforms-container input[type="date"],
.wpforms-container select,
.wpforms-container textarea {
	width: 100%;
	padding: 14px 18px;
	background: #FFFFFF;
	border: 2px solid #E2EFF7;
	border-radius: 12px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 15px;
	color: #1A1A1A;
	line-height: 1.5;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
	outline: none;
	box-shadow: none;
}

.wpforms-container input[type="text"]:hover,
.wpforms-container input[type="email"]:hover,
.wpforms-container select:hover,
.wpforms-container textarea:hover {
	border-color: #9BCBEB;
}

.wpforms-container input[type="text"]:focus,
.wpforms-container input[type="email"]:focus,
.wpforms-container input[type="tel"]:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
	border-color: #4BAEE0;
	box-shadow: 0 0 0 4px rgba(75, 174, 224, 0.15);
	background: #FFFFFF;
}

.wpforms-container textarea {
	min-height: 140px;
	resize: vertical;
}

/* Placeholders plus clairs */
.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
	color: #A8B8C4;
	opacity: 1;
}

/* ---------- Select (flèche custom) ---------- */
.wpforms-container select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	padding-right: 48px;
	cursor: pointer;
}

/* ---------- File upload ---------- */
.wpforms-container .wpforms-field-file-upload input[type="file"] {
	width: 100%;
	padding: 14px 18px;
	background: #F4F8FB;
	border: 2px dashed #9BCBEB;
	border-radius: 12px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 14px;
	color: #707070;
	cursor: pointer;
	transition: border-color 0.25s ease, background 0.25s ease;
}

.wpforms-container .wpforms-field-file-upload input[type="file"]:hover {
	border-color: #4BAEE0;
	background: #EAF5FC;
}

.wpforms-container .wpforms-field-file-upload input[type="file"]::file-selector-button {
	padding: 8px 16px;
	margin-right: 12px;
	background: #4BAEE0;
	color: #FFFFFF;
	border: none;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.25s ease;
}

.wpforms-container .wpforms-field-file-upload input[type="file"]::file-selector-button:hover {
	background: #2E96CC;
}

/* ---------- Required asterisk ---------- */
.wpforms-container .wpforms-required-label {
	color: #E63946;
	font-weight: 800;
	margin-left: 4px;
}

/* ---------- Errors ---------- */
.wpforms-container .wpforms-error {
	border-color: #E63946 !important;
}

.wpforms-container label.wpforms-error {
	color: #E63946;
	font-size: 12px;
	margin-top: 6px;
	font-weight: 600;
}

/* ---------- Submit button ---------- */
.wpforms-container .wpforms-submit-container {
	margin-top: 28px;
	text-align: left;
}

.wpforms-container button[type="submit"].wpforms-submit,
.wpforms-container button.wpforms-submit,
.wpforms-container .wpforms-submit-container button,
div.wpforms-container-full button[type="submit"],
div.wpforms-container-full .wpforms-submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 18px 40px !important;
	background: linear-gradient(135deg, #4BAEE0 0%, #2E96CC 100%) !important;
	background-color: #4BAEE0 !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: 50px !important;
	font-family: "Nunito", sans-serif !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	letter-spacing: 0.03em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
	box-shadow: 0 6px 18px rgba(75, 174, 224, 0.38), 0 2px 6px rgba(75, 174, 224, 0.2) !important;
	text-shadow: none !important;
	line-height: 1 !important;
	height: auto !important;
	min-height: 0 !important;
}

.wpforms-container button[type="submit"].wpforms-submit:hover,
.wpforms-container button.wpforms-submit:hover,
div.wpforms-container-full button[type="submit"]:hover,
div.wpforms-container-full .wpforms-submit:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 10px 28px rgba(75, 174, 224, 0.50), 0 3px 10px rgba(75, 174, 224, 0.3) !important;
	filter: brightness(1.05) !important;
}

.wpforms-container button[type="submit"].wpforms-submit:active,
div.wpforms-container-full .wpforms-submit:active {
	transform: translateY(0) !important;
}

/* Flèche à droite du bouton (pseudo-element) */
.wpforms-container button[type="submit"].wpforms-submit::after,
div.wpforms-container-full .wpforms-submit::after {
	content: "→";
	font-size: 20px;
	font-weight: 400;
	transition: transform 0.25s ease;
}

.wpforms-container button[type="submit"].wpforms-submit:hover::after,
div.wpforms-container-full .wpforms-submit:hover::after {
	transform: translateX(4px);
}

/* ---------- Loading state (ajax spinner) ---------- */
.wpforms-container .wpforms-submit-spinner {
	margin-left: 10px;
}

/* ---------- Confirmation message ---------- */
.wpforms-confirmation-container-full,
div[submit-success] > .wpforms-confirmation-container {
	background: #EAF5FC !important;
	border: 2px solid #9BCBEB !important;
	border-radius: 12px !important;
	padding: 20px 24px !important;
	color: #1A1A1A !important;
	font-family: "Nunito Sans", sans-serif !important;
}
