/* ========================================================
   TRINITY PORTAL TYPOGRAFIE & FORMULARSTYLES (Dokan-only)
   ======================================================== */

/* === 1. TYPOGRAFIE (Text, Labels, Absätze) === */
.trinity-form-style,
.trinity-form-style label,
.trinity-form-style .dokan-form-group,
.trinity-form-style .dokan-dashboard-content,
.trinity-form-style .dokan-settings-content,
.trinity-form-style .dokan-info,
.trinity-form-style .dokan-panel,
.trinity-form-style .dokan-table {
  font-family: 'Open_Sans_regular', sans-serif !important;
  font-weight: 400;
  color: #595353 !important;
  font-size: 16px !important;
  line-height: 1.7em;
}

/* === 2. EINGABEFELDER === */
.trinity-form-style input[type="text"],
.trinity-form-style input[type="email"],
.trinity-form-style input[type="password"],
.trinity-form-style input[type="tel"],
.trinity-form-style input[type="url"],
.trinity-form-style input[type="number"],
.trinity-form-style select,
.trinity-form-style textarea {
  font-family: 'Open_Sans_regular', sans-serif !important;
  font-size: 16px !important;
  color: #595353 !important;
  background-color: #fff;
  border: 1px solid #dcdcdc;
  padding: 12px 16px;
  border-radius: 0;
  box-sizing: border-box;
  width: 100%;
  line-height: 1.7em;
  margin-bottom: 15px;
}

.trinity-form-style p.form-row.form-group #last-name {
  margin-bottom: 26px !important;
  display: block;
}


/* === 3. SYSTEM- UND FEHLERTEXTE === */
.trinity-form-style .dokan-message,
.trinity-form-style .dokan-error,
.trinity-form-style .form-error,
.trinity-form-style .form-message,
.trinity-form-style .error,
.trinity-form-style .error-text,
.trinity-form-style .validation-error,
.trinity-form-style label .error,
.trinity-form-style span.error,
.trinity-form-style small,
.trinity-form-style .help-block,
.trinity-form-style input + .error,
.trinity-form-style input + .form-hint,
.trinity-form-style input + .validation-error {
  font-size: 12px !important;
  font-family: 'Open_Sans_regular', sans-serif !important;
  line-height: 1em;
  color: #595353 !important;
  margin-bottom: 10px !important;
  display: block;
}

/* Mehr Abstand oberhalb des E-Mail-Feldes (reg_email_error betrifft dieses Feld) */
.trinity-form-style #reg_email {
  	margin-bottom: -10px !important;

}

/* === 4. BUTTONS === */
.trinity-form-style input.dokan-btn,
.trinity-form-style button.dokan-btn,
.trinity-form-style input.dokan-btn-theme,
.trinity-form-style button.dokan-btn-theme,
.trinity-form-style .dokan-btn,
.trinity-form-style .dokan-btn-theme,
.trinity-form-style input[type="submit"],
.trinity-form-style button {
  background-color: #8F723D !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: 'Poppins_Bold', sans-serif !important;
  font-weight: 700 !important; /* <-- Schrift fett */
  font-size: 14px !important;
  letter-spacing: 3px;
  text-transform: uppercase !important;
  padding: 16px 30px !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* === Hover === */
.trinity-form-style input[type="submit"]:hover,
.trinity-form-style button:hover,
.trinity-form-style .dokan-btn:hover,
.trinity-form-style .dokan-btn-theme:hover {
  background-color: #ae8e54 !important;
}


/* === 5. CHECKBOXEN & RECHTSTEXTE === */
.trinity-form-style input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #8F723D;
  margin-right: 8px;
  vertical-align: middle;
}

.trinity-form-style label,
.trinity-form-style .dokan-form-group label,
.trinity-form-style label[for*="terms"] {
  font-family: 'Open_Sans_regular', sans-serif;
  font-size: 16px;
  color: #595353;
  line-height: 1.7em;
}

/* Vermittlung: Text und Checkbox nebeneinander */
.trinity-form-style label[for*="rememberme"],
.trinity-form-style label[for*="terms"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trinity-form-style label[for*="terms"] a {
  color: #8F723D;
  text-decoration: underline;
}


/* === 6. RESPONSIVE ANPASSUNG === */
@media screen and (max-width: 980px) {
  .trinity-form-style {
    font-size: 15px !important;
  }
}
@media screen and (max-width: 767px) {
  .trinity-form-style {
    font-size: 14px !important;
  }
}


/* =================================================
   RADIOBUTTONS – TRINITY (Dokan only)
   ================================================= */

.trinity-form-style .radio-label,
.trinity-form-style .radio-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Basis-Radio */
.trinity-form-style input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cfcfcf;
  background: #ffffff;
  display: inline-block;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
  transition: all 0.15s ease;
}

/* innerer Punkt */
.trinity-form-style input[type="radio"]::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s ease;
}

/* aktiv */
.trinity-form-style input[type="radio"]:checked {
  background: #8F723D;
  border-color: #8F723D;
}
.trinity-form-style input[type="radio"]:checked::after {
  opacity: 1;
}

/* Fokus */
.trinity-form-style input[type="radio"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(143, 114, 61, 0.12);
}

/* Label klickbar */
.trinity-form-style label.radio-label {
  cursor: pointer;
}

/* vertikal zentrieren */
.trinity-form-style input[type="radio"] {
  vertical-align: middle;
  margin: 0 8px 0 0;
  position: relative;
  top: 0;
}

.trinity-form-style label,
.trinity-form-style .radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4em;
}


/* === Passwort Icon === */
.trinity-form-style .show-password-input {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  cursor: pointer;
}

.trinity-form-style .show-password-input:hover,
.trinity-form-style .show-password-input:focus {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}


/* === Fehlermeldung === */
.trinity-form-style .dokan-error {
  background: none !important;
  border: 1px solid #ff0000 !important;
  color: #595353 !important;
  font-size: 12px !important;
  padding: 12px 16px;
  margin: 0 0 30px 0 !important;
  list-style: none;
  border-radius: 0;
}

/* === Info beim registrieren "Try again" === */
.woocommerce-info a, .woocommerce-message a {
   color: #ae8e54;
	font-weight: bold;
}


/*____________________________________________*/
/* === DOKAN DASHBOARD GLOBAL STYLING === */
.dokan-style .dokan-dashboard {
  font-family: 'Open_Sans_regular', sans-serif;
  color: #595353;
}

.dokan-style .dokan-dashboard-header h1,
.dokan-style .dokan-dashboard-header h2 {
  font-family: 'Baskerville-regular', sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  color: #8F723D;
}

.dokan-style .dokan-dashboard-menu ul li a {
  font-family: 'Open_Sans_regular', sans-serif;
  font-size: 15px;
  color: #595353;
  padding: 12px 20px;
  display: block;
  transition: all 0.2s ease;
}

.dokan-style .dokan-dashboard-menu ul li a:hover,
.dokan-style .dokan-dashboard-menu ul li.active a {
  background-color: #8F723D;
  color: #fff;
}

/* Inhalt / Tabellen / Buttons */
.dokan-style .dokan-dashboard-content {
  padding: 40px;
}

.dokan-style .dokan-btn,
.dokan-style .dokan-btn-theme,
.dokan-style .dokan-btn.dokan-btn-theme{
  background-color: #8F723D !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: 'Poppins_Bold', sans-serif !important;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 25px !important;
  transition: all 0.3s ease;
}

.dokan-style .dokan-btn:hover,
.dokan-style .dokan-btn-theme:hover {
  background-color: #a88b52 !important;
}



/* Tabellen */
.dokan-style table.dokan-table {
  border-collapse: collapse;
  width: 100%;
  font-family: 'Open_Sans_regular', sans-serif;
}

.dokan-style table.dokan-table th {
  background-color: #f2efe9;
  color: #595353;
  font-weight: 600;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.dokan-style table.dokan-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

/* === FORMULARE === */

/* Eingabefelder (Text, Email, Password, Textarea, Select) */
.dokan-style input[type="text"],
.dokan-style input[type="email"],
.dokan-style input[type="password"],
.dokan-style textarea,
.dokan-style select,
.dokan-style .dokan-form-control,
.dokan-style select.country_to_state {
  width: 100%;
  border: 1px solid #595353;
  padding: 12px 15px;
  background: transparent;
  font-family: 'Open_Sans_regular', sans-serif;
  font-size: 14px;
  color: #333;
  border-radius: 0;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
}

.dokan-style input:focus,
.dokan-style select:focus,
.dokan-style textarea:focus,
.dokan-style .dokan-form-control:focus {
  border-color: #8F723D;
  outline: none;
}

/* Labels */
.dokan-style label,
.dokan-style .form-group label,
.dokan-style .dokan-form-group label,
.dokan-style .control-label {
  display: block !important;
  width: 100% !important;
  float: none !important;
  text-align: left !important;
  font-family: 'Poppins_Bold', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #595353;
  margin-bottom: 4px; /* Abstand zum Feld */
}

/* Select-Felder mit Chevron */
.dokan-style select,
.dokan-style select.country_to_state,
.dokan-style .dokan-form-control[type="select"] {
  width: 100%;
  border: 1px solid #595353;
  border-radius: 0;
  background: transparent;
  font-family: 'Open_Sans_regular', sans-serif;
  font-size: 14px;
  color: #333;
  padding: 12px 40px 12px 15px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #595353 50%),
    linear-gradient(135deg, #595353 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    100% 0;
  background-size: 6px 6px, 6px 6px, 2.2em 100%;
  background-repeat: no-repeat;
}

/* Select2-Styling (Single & Multiple) */
.dokan-style .select2-container { width: 100% !important; }

.dokan-style .select2-container--default .select2-selection--single {
  height: 42px;
  border: 1px solid #595353;
  border-radius: 0;
  background: transparent;
}

.dokan-style .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px;
  padding-left: 12px;
  font-family: 'Open_Sans_regular', sans-serif;
  font-size: 14px;
  color: #333;
}

.dokan-style .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
}

.dokan-style .select2-container--default .select2-selection--multiple {
  min-height: 42px;
  border: 1px solid #595353;
  border-radius: 0;
  padding: 4px 6px;
  background: transparent;
}

.dokan-style .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  gap: 6px;
  padding-left: 2px;
  font-family: 'Open_Sans_regular', sans-serif;
  font-size: 14px;
  color: #333;
}

.dokan-style .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #f2efe9;
  border: 1px solid #ddd;
  border-radius: 0;
  padding: 3px 6px;
  font-size: 13px;
}

/* Dropdown-Menü von Select2 */
.dokan-style .select2-container--default .select2-results__option { font-size: 14px; }
.dokan-style .select2-dropdown { border: 1px solid #595353; border-radius: 0; }

/* Alle Formularfelder 100 % Breite, keine Spalten nebeneinander */
.dokan-style .dokan-form-group,
.dokan-style .dokan-address-fields .dokan-form-group,
.dokan-style .dokan-w6,
.dokan-style .dokan-w5,
.dokan-style .dokan-w4,
.dokan-style .dokan-w3,
.dokan-style .form-row-first,
.dokan-style .form-row-last,
.dokan-style .col-md-6,
.dokan-style .col-sm-6 {
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Gleichmäßige Abstände */
.dokan-style .dokan-form-group { margin-bottom: 18px !important; }

/* Pflichtsternchen */
.dokan-style .required { color: #8F723D; font-weight: 700; margin-left: 2px; }

/* === Checkboxen: Gold bei Aktivierung === */
.dokan-style input[type="checkbox"] {
  /* Standardgröße + Stil */
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #8F723D; /* moderne Browser */
  transition: all 0.2s ease;
}

/* Fallback für Browser ohne accent-color */
.dokan-style input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #595353;
  border-radius: 2px;
  background: #fff;
  position: relative;
}

.dokan-style input[type="checkbox"]:checked {
  background-color: #8F723D;
  border-color: #8F723D;
}

.dokan-style input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* === Dokan: Store Schedule komplett ausblenden === */
.dokan-style .dokan-form-group.store-open-close-time {
  display: none !important;
}

/* === Dokan: Store Schedule komplett ausblenden === */
.dokan-style .dokan-form-group.store-open-close-time {
  display: none !important;
}

/* === Dokan: Banner Upload volle Breite (mit funktionsfähigem Upload) === */
.dokan-style #dokan-banner-wrapper,
.dokan-style .dokan-dashboard-content #dokan-banner-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  box-sizing: border-box;
}

/* image-wrap darf sich normal verstecken (nicht erzwingen!) */
.dokan-style #dokan-banner-wrapper .image-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Button-Area bleibt zentriert */
.dokan-style #dokan-banner-wrapper .button-area {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  margin-top: 15px;
}

/* Banner-Bild */
.dokan-style #dokan-banner-wrapper .dokan-banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #d9d9d9;
}


/* Banner-Bild selbst anpassen */
.dokan-style #dokan-banner-wrapper .dokan-banner-img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  border: 1px solid #d9d9d9;
}

/* Button-Bereich gleichmäßig gestalten */
.dokan-style #dokan-banner-wrapper .button-area {
  margin-top: 15px;
}

.dokan-style #dokan-banner-wrapper .button-area .dokan-btn {
  background-color: #8F723D !important;
  border: none !important;
  border-radius: 0 !important;
  color: #fff !important;
  text-transform: uppercase;
  font-family: 'Poppins_Bold', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 12px 25px !important;
  transition: background-color 0.3s ease;
}

.dokan-style #dokan-banner-wrapper .button-area .dokan-btn:hover {
  background-color: #a88b52 !important;
}

/* Text unter Button angleichen */
.dokan-style #dokan-banner-wrapper .button-area .help-block {
  font-family: 'Open_Sans_regular', sans-serif;
  font-size: 14px;
  color: #595353;
  margin-top: 10px;
  line-height: 1.5;
}


/* === Dokan: Biography-Editor volle Breite === */

/* Label "Biography" korrekt formatieren */
.dokan-style .dokan-form-group label[for="vendor_biography"],
.dokan-style .dokan-form-group .dokan-control-label {
  display: block !important;
  width: 100% !important;
  float: none !important;
  text-align: left !important;
  font-family: 'Poppins_Bold', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #595353;
  margin-bottom: 6px;
}

/* Container + Editor auf volle Breite */
.dokan-style .dokan-form-group .dokan-w7,
.dokan-style #wp-vendor_biography-wrap,
.dokan-style #wp-vendor_biography-editor-container,
.dokan-style .mce-tinymce,
.dokan-style #vendor_biography_ifr {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* Editor-Iframe (Textfeld selbst) */
.dokan-style #vendor_biography_ifr {
  min-height: 300px !important;
  border: 1px solid #595353 !important;
  border-radius: 0 !important;
}

/* Optional: etwas Abstand nach unten */
.dokan-style .dokan-form-group #wp-vendor_biography-wrap {
  margin-bottom: 20px;
}

/* === Dokan: Update Settings Button rechts ausrichten === */
.dokan-style .dokan-w4.ajax_prev.dokan-text-left {
  margin-left: 0 !important;
  text-align: right !important;
  width: 100% !important;
}

/* Optional: etwas Abstand nach oben */
.dokan-style .dokan-w4.ajax_prev.dokan-text-left input[type="submit"] {
  margin-top: 20px !important;
}

/* === Avatar Upload Button (Profilbild) – Weiß mit goldenem Rahmen === */
.dokan-style .dokan-pro-gravatar-drag.dokan-btn.dokan-btn-default {
  background-color: #fff !important;
  color: #8F723D !important;
  border: 2px solid #8F723D !important;
  border-radius: 0 !important;
  transition: all 0.3s ease;
}

/* Hover: leichtes Grau, goldene Schrift bleibt */
.dokan-style .dokan-pro-gravatar-drag.dokan-btn.dokan-btn-default:hover {
  background-color: #f5f5f5 !important;
  color: #8F723D !important;
  border-color: #8F723D !important;
}

/* === DOKAN: Profile Completeness Box === */

/* 1. Äußere Box – Ecken entfernen, Rahmen unverändert */
.dokan-style .dokan-panel.dokan-profile-completeness {
  border-radius: 0 !important;
}

/* 2. Progressbar – Lila statt Blau */
.dokan-style .dokan-progress-bar.dokan-progress-bar-info {
  background-color: #A58DCF !important;
  border-radius: 0 !important;
  background-image: none !important;
  color: #fff !important; /* Text bleibt weiß */
}

/* 3. Hinweisbox ("Add Banner to gain...") – helles Gold statt Blau */
.dokan-style .dokan-alert.dokan-alert-info {
  background-color: #f9f5ee !important; /* hellgold */
  border-radius: 0 !important;
  border: 1px solid #e0d7c8 !important; /* leicht goldiger Rahmen */
  color: #8F723D !important; /* goldene Schrift */
  font-family: 'Open_Sans_regular', sans-serif !important;
}

/* 4. Link "Add Banner" fett + gold */
.dokan-style .dokan-alert.dokan-alert-info a {
  color: #8F723D !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* 5. Restlicher Text gold, nicht fett */
.dokan-style .dokan-alert.dokan-alert-info {
  font-weight: 400 !important;
}

/* 6. Close-Icon (X) unverändert lassen */
.dokan-style .dokan-profile-completeness .fa-times {
  color: inherit !important;
}

/* === Dokan Country-Feld Fix === */
.dokan-style select.country_to_state {
  height: auto !important;
  line-height: 1.4 !important;
  padding: 12px 35px 12px 15px !important; /* etwas mehr Platz rechts */

}






