168 lines
3.4 KiB
CSS
168 lines
3.4 KiB
CSS
/* Geteilte Styles der Anmelde-Wizards (langer Prozess und Kurzanmeldung). */
|
|
|
|
/* ─── Progress (Step-Pills) ─── */
|
|
.signup-progress {
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.signup-progress-pills {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.signup-progress-separator {
|
|
flex-shrink: 0;
|
|
width: 16px;
|
|
height: 2px;
|
|
background: #e5e7eb;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.signup-pill {
|
|
padding: 5px 14px;
|
|
border-radius: 999px;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
border: 2px solid;
|
|
cursor: default;
|
|
}
|
|
|
|
.signup-pill__check { margin-right: 4px; }
|
|
|
|
.signup-pill--active {
|
|
border-color: #2563eb;
|
|
background: #2563eb;
|
|
color: white;
|
|
}
|
|
|
|
.signup-pill--done {
|
|
border-color: #bbf7d0;
|
|
background: #f0fdf4;
|
|
color: #15803d;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.signup-pill--upcoming {
|
|
border-color: #e5e7eb;
|
|
background: #f9fafb;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.signup-progress-bar {
|
|
margin-top: 10px;
|
|
height: 3px;
|
|
background: #e5e7eb;
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.signup-progress-bar__fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #2563eb, #3b82f6);
|
|
border-radius: 2px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.signup-progress-mobile {
|
|
display: none;
|
|
margin-top: 8px;
|
|
font-size: 0.9rem;
|
|
color: #374151;
|
|
}
|
|
|
|
/* ─── Form-Table ─── */
|
|
.form-table { width: 100%; border-collapse: collapse; }
|
|
.form-table td { padding: 8px 12px 8px 0; vertical-align: top; }
|
|
.form-table td:first-child { width: 220px; color: #374151; font-weight: 500; }
|
|
.form-table input[type="text"],
|
|
.form-table input[type="date"],
|
|
.form-table input[type="email"],
|
|
.form-table input[type="number"],
|
|
.form-table select,
|
|
.form-table textarea {
|
|
width: 100%;
|
|
padding: 6px 10px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
font-size: 0.95rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.btn-row { display: flex; gap: 10px; padding-top: 16px; flex-wrap: wrap; }
|
|
.btn-primary {
|
|
padding: 8px 20px;
|
|
background: #2563eb;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
.btn-secondary {
|
|
padding: 8px 20px;
|
|
background: #f3f4f6;
|
|
color: #374151;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* ─── Tablet ─── */
|
|
@media (max-width: 1023px) {
|
|
.form-table td:first-child {
|
|
width: 160px;
|
|
}
|
|
}
|
|
|
|
/* ─── Smartphone ─── */
|
|
@media (max-width: 639px) {
|
|
/* Pills auf Mobile: kompakter, Trennstriche ausblenden */
|
|
.signup-progress-pills {
|
|
display: none;
|
|
}
|
|
.signup-progress-mobile {
|
|
display: block;
|
|
}
|
|
|
|
/* Form-Table: Label oberhalb des Feldes */
|
|
.form-table,
|
|
.form-table tbody,
|
|
.form-table tr {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.form-table td {
|
|
display: block;
|
|
width: 100% !important;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.form-table td:first-child {
|
|
width: 100% !important;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.form-table td[colspan] {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.btn-row {
|
|
flex-direction: column-reverse;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn-primary,
|
|
.btn-secondary {
|
|
width: 100%;
|
|
padding: 12px 20px;
|
|
}
|
|
}
|