/* PGHM HRM Onboarding – Formular Styling (v1.0.2, mit Umlauten) */

.pghm-hrm-onboarding-wrap{
  --gold:#C0A268;
  --white:#FFFFFF;
  --ink:#EDEDED;
  --charcoal:#1B1717;
  --outline:rgba(255,255,255,.16);
  --shadow:0 18px 40px rgba(0,0,0,.55);
  --radius:22px;
  --gap:22px;
  font-family:Poppins,Arial,sans-serif;
  color:var(--ink);
  max-width:1120px;
  margin:40px auto 70px;
  padding:0 18px;
}

.pghm-hrm-onboarding-form{
  background:radial-gradient(circle at top left,rgba(0,0,0,.82),rgba(0,0,0,.95));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.12);
  padding:30px 32px 26px;
  color:var(--ink);
}

.pghm-hrm-onboarding-section{
  margin-bottom:24px;
}

.pghm-hrm-onboarding-section-title{
  margin:0 0 16px;
  font-size:19px;
  font-weight:600;
  color:var(--gold);
  letter-spacing:.05em;
  text-transform:uppercase;
}

/* Zweispaltiges, gleichmässiges Grid auf Desktop */
.pghm-hrm-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--gap);
  margin-bottom:16px;
}

.pghm-hrm-field{
  display:flex;
  flex-direction:column;
}

/* Labels mit sauberem Zeilenabstand, damit nichts überlappt */
.pghm-hrm-field label{
  display:block;
  font-size:13px;
  line-height:1.4;
  font-weight:500;
  color:var(--ink);
  margin-bottom:6px;
}

/* Inputs/Selects */
.pghm-hrm-field input,
.pghm-hrm-field select{
  width:100%;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.26);
  background:rgba(0,0,0,.58);
  padding:9px 11px;
  font-size:14px;
  color:var(--white);
  outline:none;
  box-sizing:border-box;
}

.pghm-hrm-field input:focus,
.pghm-hrm-field select:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 1px rgba(192,162,104,.55);
}

/* Consent-Bereich */
.pghm-hrm-consent-row{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:18px;
}

.pghm-hrm-consent-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--ink);
  font-weight:500;
}

.pghm-hrm-consent-label input[type="checkbox"]{
  width:16px;
  height:16px;
  border-radius:4px;
}

.pghm-hrm-consent-text{
  font-size:13px;
  line-height:1.8;
  color:var(--ink);
  margin:0;
}

/* Button-Row */
.pghm-hrm-submit-row{
  display:flex;
  justify-content:flex-start;
}

.pghm-hrm-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 30px;
  border-radius:999px;
  border:1px solid var(--gold);
  background:var(--gold);
  color:var(--charcoal);
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  box-shadow:0 14px 36px rgba(0,0,0,.55);
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.pghm-hrm-submit:hover{
  filter:brightness(1.06);
  transform:translateY(-1px);
  box-shadow:0 18px 40px rgba(0,0,0,.6);
}

/* Messages */
.pghm-hrm-onboarding-message{
  max-width:1120px;
  margin:24px auto 0;
  padding:12px 16px;
  border-radius:10px;
  font-family:Poppins,Arial,sans-serif;
  font-size:14px;
}

.pghm-hrm-onboarding-message.success{
  background:rgba(0,128,0,.12);
  border:1px solid rgba(0,200,0,.55);
  color:#c7ffd0;
}

.pghm-hrm-onboarding-message.error{
  background:rgba(128,0,0,.18);
  border:1px solid rgba(220,0,0,.65);
  color:#ffd7d7;
}

.pghm-hrm-onboarding-message.error ul{
  margin:0;
  padding-left:20px;
}

/* Mobile */
@media (max-width:768px){
  .pghm-hrm-onboarding-form{
    padding:20px 16px 22px;
  }
  .pghm-hrm-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
}
