.az-employee-dashboard {
	max-width: 600px;
	margin: 0 auto;
	padding: 1.5rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.az-dashboard-title {
	margin: 0 0 1rem 0;
	font-size: 1.5rem;
}
.az-today {
	margin: 0 0 1rem 0;
	color: #374151;
	font-weight: 600;
}
.az-section {
	background: #f9fafb;
	border-radius: 8px;
	padding: 1.5rem;
	margin-bottom: 1rem;
	border: 1px solid #e5e7eb;
}
.az-section h3 {
	margin: 0 0 1rem 0;
	font-size: 1.1rem;
}
.az-input {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	box-sizing: border-box;
	margin-top: 0.25rem;
}
.az-btn {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	margin-top: 0.5rem;
}
.az-btn-primary {
	background: #2563eb;
	color: #fff;
}
.az-btn-primary:hover {
	background: #1d4ed8;
}
.az-btn-secondary {
	background: #6b7280;
	color: #fff;
	margin-right: 0.5rem;
}
.az-btn-secondary:hover {
	background: #4b5563;
}
.az-btn-danger {
	background: #dc2626;
	color: #fff;
}
.az-btn-danger:hover {
	background: #b91c1c;
}

/* 12-Stunden-Modal (Verlängerung bestätigen oder Arbeit beenden) */
.az-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}
.az-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}
.az-modal-content {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 1.5rem;
	max-width: 420px;
	width: 100%;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
	border: 1px solid #e5e7eb;
}
.az-modal-title {
	margin: 0 0 0.75rem 0;
	font-size: 1.2rem;
	color: #b45309;
}
.az-modal-text {
	margin: 0 0 1.25rem 0;
	line-height: 1.5;
	color: #374151;
}
.az-modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
}
.az-modal-actions .az-btn {
	margin-top: 0;
}

/* Gesamt heute – eine Anzeige für Arbeitszeit + Pause (laufende Uhr) */
.az-day-totals {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border: 1px solid #93c5fd;
	border-radius: 10px;
	padding: 1rem 1.25rem;
	margin: 1rem 0;
}
.az-day-totals-title {
	margin: 0 0 0.25rem 0;
	font-size: 1rem;
	font-weight: 600;
	color: #1e40af;
}
.az-day-totals-hint {
	margin: 0 0 0.75rem 0;
	font-size: 0.8rem;
	color: #6b7280;
	font-style: italic;
}
.az-day-totals-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75rem 1.5rem;
}
.az-day-totals-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.az-day-totals-label {
	font-size: 0.9rem;
	color: #374151;
}
.az-day-totals-value {
	font-size: 1.5rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #1e3a8a;
}

/* Tagesabschluss-Info (Pause, Arbeitsstunden, Kilometer) */
.az-day-summary {
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border: 1px solid #86efac;
	margin-top: 1rem;
}
.az-day-summary h3 {
	color: #166534;
}
#az-day-summary-content p {
	margin: 0.5rem 0;
	font-size: 1rem;
}
#az-day-summary-content strong {
	display: inline-block;
	min-width: 10rem;
}

.az-message {
	padding: 0.75rem 1rem;
	border-radius: 6px;
	margin-top: 1rem;
}
.az-message.az-success {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #10b981;
}
.az-message.az-error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #dc2626;
}
#az-session-info p {
	margin: 0.5rem 0;
}
.az-hint {
	margin: 0.5rem 0 0 0;
	color: #6b7280;
	font-size: 0.9rem;
}

.az-no-vehicle-wrap {
	margin: 0.5rem 0;
}
.az-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	font-weight: 500;
}
.az-input-checkbox {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
}

.az-logged-in-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.az-report-tabs {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}
.az-report-tab.az-active {
	background: #2563eb;
}
.az-month-picker-wrap {
	margin-top: 0.75rem;
	margin-bottom: 0.5rem;
}
.az-month-picker-wrap label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
	color: #374151;
}
.az-month-picker-wrap .az-report-month {
	max-width: 12rem;
}
/* Kachel oben: Ø Arbeitsstunden/Tag diesen Monat */
.az-avg-hours-card-wrap {
	margin-bottom: 1rem;
	max-width: 320px;
}
.az-avg-hours-card {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border: 1px solid #f59e0b;
	border-radius: 10px;
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.az-avg-hours-label {
	font-size: 0.9rem;
	font-weight: 600;
	color: #92400e;
}
.az-avg-hours-value {
	font-size: 1.75rem;
	font-weight: 700;
	color: #b45309;
}
/* Soll-Stunden: grün = im Soll, orange = darunter, gelb = etwas darüber, rot = deutlich darüber */
.az-avg-hours-card.az-avg-hours-ok {
	background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
	border-color: #059669;
}
.az-avg-hours-card.az-avg-hours-ok .az-avg-hours-label { color: #065f46; }
.az-avg-hours-card.az-avg-hours-ok .az-avg-hours-value { color: #047857; }
.az-avg-hours-card.az-avg-hours-under {
	background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
	border-color: #ea580c;
}
.az-avg-hours-card.az-avg-hours-under .az-avg-hours-label { color: #9a3412; }
.az-avg-hours-card.az-avg-hours-under .az-avg-hours-value { color: #c2410c; }
.az-avg-hours-card.az-avg-hours-slightly-over {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border-color: #d97706;
}
.az-avg-hours-card.az-avg-hours-slightly-over .az-avg-hours-label { color: #92400e; }
.az-avg-hours-card.az-avg-hours-slightly-over .az-avg-hours-value { color: #b45309; }
.az-avg-hours-card.az-avg-hours-over {
	background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
	border-color: #dc2626;
}
.az-avg-hours-card.az-avg-hours-over .az-avg-hours-label { color: #991b1b; }
.az-avg-hours-card.az-avg-hours-over .az-avg-hours-value { color: #b91c1c; }

/* Kacheln: Geschätzter Gesamtarbeitslohn + Hochrechnung */
.az-month-wage-estimate-wrap {
	margin-bottom: 1rem;
}
.az-month-wage-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
}
.az-month-wage-estimate-card,
.az-month-wage-projection-card {
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.az-month-wage-estimate-card {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border: 1px solid #93c5fd;
}
.az-month-wage-estimate-label,
.az-month-wage-projection-label {
	font-size: 0.95rem;
	font-weight: 600;
}
.az-month-wage-estimate-label { color: #1e40af; }
.az-month-wage-projection-label { color: #166534; }
.az-month-wage-estimate-value,
.az-month-wage-projection-value {
	font-size: 1.75rem;
	font-weight: 700;
}
.az-month-wage-estimate-value { color: #1e3a8a; }
.az-month-wage-projection-value { color: #14532d; }
.az-month-wage-estimate-detail,
.az-month-wage-projection-detail {
	display: block;
	font-size: 0.85rem;
	color: #475569;
	margin-top: 0.15rem;
}
.az-month-wage-estimate-hint,
.az-month-wage-projection-hint {
	margin: 0.35rem 0 0 0;
	font-size: 0.8rem;
	color: #64748b;
}
.az-month-wage-projection-card {
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border: 1px solid #86efac;
}

.az-tiles-wrap { margin-bottom: 1rem; }
.az-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.75rem;
}
.az-tile {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.az-tile-label {
	font-size: 0.8rem;
	color: #6b7280;
	font-weight: 500;
}
.az-tile-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
}
.az-tile-detail {
	font-size: 0.75rem;
	color: #6b7280;
	line-height: 1.25;
}

.az-report-summary {
	padding: 0.75rem 1rem;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 0.75rem;
}
.az-report-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}
.az-report-table th,
.az-report-table td {
	padding: 0.5rem 0.6rem;
	border-bottom: 1px solid #f3f4f6;
	text-align: left;
	white-space: nowrap;
	font-size: 0.95rem;
}
.az-report-table th {
	background: #f3f4f6;
	font-weight: 700;
}

/* Sonderzeilen farblich kennzeichnen */
.az-report-table tr.az-row-krank {
	background: #fef2f2;
}
.az-report-table tr.az-row-krank:hover {
	background: #fee2e2;
}
.az-report-table tr.az-row-kinderkrank {
	background: #fffbeb;
}
.az-report-table tr.az-row-kinderkrank:hover {
	background: #fef3c7;
}
/* Urlaub: klar von Arbeitszeit unterscheidbar (z. B. für Ausdruck / Steuerbüro) */
.az-report-table tr.az-row-urlaub {
	background: #d1fae5;
}
.az-report-table tr.az-row-urlaub td:first-child {
	border-left: 4px solid #059669;
}
.az-report-table tr.az-row-urlaub:hover {
	background: #a7f3d0;
}
.az-report-table tr.az-row-urlaub td {
	font-weight: 600;
	color: #065f46;
}
.az-report-table tr.az-row-feiertag {
	background: #dbeafe;
}
.az-report-table tr.az-row-feiertag td:first-child {
	border-left: 4px solid #2563eb;
}
.az-report-table tr.az-row-feiertag:hover {
	background: #bfdbfe;
}
.az-report-table tr.az-row-feiertag td {
	font-weight: 600;
	color: #1e3a8a;
}
@media print {
	.az-report-table tr.az-row-urlaub {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.az-report-table tr.az-row-feiertag {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}

.az-special-buttons-section summary,
.az-vacation-section summary {
	cursor: pointer;
	font-weight: 600;
	padding: 0.25rem 0;
}
.az-special-desc {
	margin: 0.5rem 0 1rem 0;
	font-size: 0.9rem;
	color: #4b5563;
}
.az-special-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}
.az-btn-sick {
	background: #dc2626;
	color: #fff;
}
.az-btn-sick:hover {
	background: #b91c1c;
}
.az-btn-kinderkrank {
	background: #d97706;
	color: #fff;
}
.az-btn-kinderkrank:hover {
	background: #b45309;
}
.az-special-message { margin-top: 0.5rem; }
.az-special-message.az-success { color: #15803d; }
.az-special-message.az-error { color: #b91c1c; }

.az-today-locked {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}
.az-today-locked-msg { margin: 0; font-weight: 500; }

.az-vacation-desc {
	margin: 0.5rem 0 1rem 0;
	font-size: 0.9rem;
	color: #4b5563;
}
.az-vacation-form .az-input { max-width: 200px; }
.az-vacation-message { margin-top: 0.5rem; }
.az-vacation-message.az-success { color: #15803d; }
.az-vacation-message.az-error { color: #b91c1c; }

.az-login-container.az-section { margin-top: 0; }
.az-login-form .az-input { max-width: 320px; }
.az-login-links { margin-top: 0.75rem; font-size: 0.95rem; }
.az-login-links a { color: #2563eb; }
.az-login-links a:hover { text-decoration: underline; }

/* Offene Sitzung über Mitternacht hinaus / vergessenes Ausstempeln */
.az-forgot-checkout-notice {
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 8px;
	padding: 0.85rem 1rem;
	margin: 0 0 1rem 0;
	color: #78350f;
	font-size: 0.95rem;
	line-height: 1.45;
}
.az-forgot-checkout-notice p { margin: 0 0 0.5rem 0; }
.az-forgot-checkout-notice p:last-child { margin-bottom: 0; }
.az-forgot-checkout-date-wrap { margin-top: 0.35rem !important; font-size: 1rem; }
