/* Formuláre Odstúpenie od zmluvy a Reklamácia (plugin Spotrebiteľské práva) v štýle webu.
   Selektory majú predponu "body", aby prebili štýly pluginu (assets/oodz-style.css). */

body .oodz-wrapper { max-width: 760px; }
body .oodz-complaint-wrapper { max-width: 880px; }

/* úvod */
body .oodz-form .oodz-title { color: #0D2C43; font-size: 30px; font-weight: 600; line-height: 1.25; margin: 0 0 12px !important; }
body .oodz-intro p { color: #455a6a; font-size: 17px; line-height: 28px; }
body .oodz-form-subtitle { color: #455a6a; font-style: normal; }

/* údaje predávajúceho */
body .oodz-seller-header { background: #F2FAFE; border: 1px solid #DCF1FC; border-radius: 12px; color: #0D2C43; padding: 16px 20px; }
body .oodz-seller-header strong { color: #0D2C43; }
body .oodz-seller-legal { color: #455a6a; }

/* karta formulára */
body .oodz-form {
	background: #fff;
	border: 1px solid #DCF1FC;
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(13, 44, 67, .05);
	padding: 36px;
}
@media (max-width: 560px) { body .oodz-form { padding: 22px 16px; } }

body .oodz-section-title { border-bottom: 2px solid #DCF1FC; color: #0D2C43; font-size: 20px !important; font-weight: 600 !important; margin: 32px 0 16px !important; }

/* popisky a polia */
body .oodz-field > label,
body .oodz-field fieldset legend { color: #0D2C43; font-size: 15px; font-weight: 600; }
body .oodz-req { color: #E5484D; }
body .oodz-optional { color: #0d2c4399; }
body .oodz-field-help { color: #0d2c4399; }

body .oodz-form input[type="text"],
body .oodz-form input[type="tel"],
body .oodz-form input[type="email"],
body .oodz-form input[type="date"],
body .oodz-form input[type="number"],
body .oodz-form input[type="url"],
body .oodz-form select,
body .oodz-form textarea {
	background: #fff;
	border: 1px solid #00a1e54d;
	border-radius: 12px;
	color: #0D2C43;
	padding: 13px 16px;
}
body .oodz-form input::placeholder,
body .oodz-form textarea::placeholder { color: #0d2c4380; }
body .oodz-form input[type="text"]:focus,
body .oodz-form input[type="tel"]:focus,
body .oodz-form input[type="email"]:focus,
body .oodz-form input[type="date"]:focus,
body .oodz-form input[type="number"]:focus,
body .oodz-form input[type="url"]:focus,
body .oodz-form select:focus,
body .oodz-form textarea:focus {
	background: #fff;
	border-color: #00A1E5;
	box-shadow: 0 0 0 3px rgba(0, 161, 229, .18);
	outline: none;
}

/* výber (rádio, zaškrtávacie polia) */
body .oodz-radio-label,
body .oodz-check-label { color: #0D2C43; }
body .oodz-form input[type="radio"],
body .oodz-form input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	border: 2px solid #00A1E5;
	cursor: pointer;
	flex-shrink: 0;
	height: 22px;
	margin: 0;
	width: 22px;
}
body .oodz-form input[type="radio"] { border-radius: 50%; }
body .oodz-form input[type="checkbox"] { border-radius: 6px; }
body .oodz-form input[type="radio"]:checked { background: #00A1E5; box-shadow: inset 0 0 0 4px #fff; }
body .oodz-form input[type="checkbox"]:checked {
	background: #00A1E5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 80% no-repeat;
}
body .oodz-form input[type="radio"]:focus-visible,
body .oodz-form input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 3px rgba(0, 161, 229, .3); outline: none; }
body .oodz-form input[type="radio"]:checked:focus-visible { box-shadow: inset 0 0 0 4px #fff, 0 0 0 3px rgba(0, 161, 229, .3); }

/* produkty pri čiastočnom odstúpení */
body .oodz-produkt-item { background: #fff; border: 1px solid #DCF1FC; border-radius: 12px; }
body .oodz-produkt-item:hover { background: #F2FAFE; border-color: #00A1E5; }
body .oodz-produkt-name { color: #0D2C43; }
body .oodz-produkt-meta { color: #0d2c4399; }
body .oodz-qty-input { border: 1px solid #00a1e54d; border-radius: 8px; }

/* informácia o GDPR, upozornenia */
body .oodz-field-gdpr,
body .oodz-field-gdpr-info { background: #F2FAFE; border-radius: 12px; color: #455a6a; padding: 14px 18px; }
body .oodz-field-gdpr-info p, body .oodz-field-gdpr-info { font-size: 14px; line-height: 22px; }
body .oodz-custom-notice { background: #FFF8CC; border: 1px solid #FFDB00; border-left-width: 1px; border-radius: 12px; color: #0D2C43; }
body .oodz-custom-notice strong,
body .oodz-custom-notice a { color: #0D2C43; }
body .oodz-guest-note { background: #FFF8CC; border: 1px solid #FFDB00; border-radius: 12px; color: #0D2C43; }
body .oodz-deadline-info { border-radius: 12px; border-left-width: 1px; border-left-style: solid; padding: 12px 16px; }
body .oodz-refund-info { border-radius: 12px; border-left-width: 1px; border-left-style: solid; }

/* nahrávanie fotografií */
body .oodz-form .oodz-photo-drop { align-items: center; background: #F2FAFE; border: 2px dashed #00A1E5; border-radius: 16px; display: flex; flex-direction: column; gap: 8px; justify-content: center; padding: 28px 20px; text-align: center; }
body .oodz-form .oodz-photo-drop-icon { font-size: 2rem; line-height: 1; opacity: .7; }
body .oodz-form .oodz-photo-drop-icon img { height: 36px !important; margin: 0 !important; width: 36px !important; }
body .oodz-form .oodz-photo-drop-text { font-size: 15px; font-weight: 500; }
body .oodz-photo-drop:hover,
body .oodz-photo-drop.dragover { background: #DCF1FC; border-color: #0D2C43; }
body .oodz-photo-drop-text { color: #0D2C43; }
body .oodz-photo-item { border-color: #DCF1FC; border-radius: 12px; }

/* tlačidlo odoslať: žlté ako ostatné tlačidlá na webe */
body form button.oodz-submit-btn[type="submit"] {
	background: #FFDB00;
	border-radius: 16px;
	color: #0D2C43;
	font-size: 17px;
	font-weight: 600;
	margin-top: 28px;
	padding: 16px 32px;
	width: auto;
	min-width: 280px;
}
body form button.oodz-submit-btn[type="submit"]:hover { background: #ffd000; }
body form button.oodz-submit-btn[type="submit"]:disabled { background: #FFF1A6; color: #0d2c4380; }
body .oodz-spinner { border-color: rgba(13, 44, 67, .25); border-top-color: #0D2C43; }
@media (max-width: 560px) { body form button.oodz-submit-btn[type="submit"] { width: 100%; min-width: 0; } }
body .oodz-footer-note { color: #0d2c4399; text-align: left; }

/* chyba / úspech */
body .oodz-error { background: #FDECEE; border: 1px solid #E5484D; border-radius: 12px; color: #B42318; }
body .oodz-success { background: #E8F7EE; border: 1px solid #2EB872; border-radius: 16px; }
body .oodz-success-check { background: #2EB872; }
body .oodz-success h3 { color: #0D2C43; }
body .oodz-success p { color: #455a6a; }

/* menšia medzera medzi nadpisom stránky a formulárom (bola 145 px) */
body .tpl-page .s1:has(+ .s2 .oodz-wrapper) { padding-bottom: 10px; }
body .tpl-page .s1:has(+ .s2 .oodz-wrapper) .page-h1 { margin-bottom: 20px; }
body .tpl-page .s2:has(.oodz-wrapper) { padding-top: 0; }
