/* ===== AUTH PAGES (login, registreren) ===== */
.auth-hero {
  background: #1e293b;
  color: #fff;
  padding: 48px 0 40px;
  text-align: center;
}
.auth-hero h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 8px;
}
.auth-hero p {
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-size: 1rem;
}

.auth-section {
  padding: 48px 0 72px;
}

.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.auth-card h2 {
  font-size: 1.375rem;
  margin-bottom: 4px;
}

.auth-card .auth-subtitle {
  color: #6B7280;
  font-size: 0.875rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auth-btn {
  display: block;
  width: 100%;
  padding: 13px 24px;
  background: #2563EB;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}

.auth-btn:hover {
  background: #1e40af;
}

.auth-btn:active {
  transform: scale(0.98);
}

.auth-btn:disabled {
  background: #93C5FD;
  cursor: not-allowed;
}

.auth-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
  color: #6B7280;
}

.auth-link a {
  color: #2563EB;
  font-weight: 600;
}

.auth-error {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  margin-bottom: 16px;
}

.auth-success {
  display: none;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #16A34A;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  margin-bottom: 16px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: #9CA3AF;
  font-size: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}

/* ===== DASHBOARD ===== */
.dash-hero {
  background: #1e293b;
  color: #fff;
  padding: 24px 0;
}

.dash-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.dash-hero h1 {
  color: #fff;
  font-size: 1.375rem;
  margin: 0;
}

.dash-hero-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-hero-info span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

.dash-logout-btn {
  padding: 8px 18px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.dash-logout-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.dash-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  min-height: calc(100vh - 200px);
}

@media (max-width: 768px) {
  .dash-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar */
.dash-sidebar {
  background: #F9FAFB;
  border-right: 1px solid #E5E7EB;
  padding: 24px 0;
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6B7280;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.dash-nav a:hover {
  background: #F3F4F6;
  color: #111827;
}

.dash-nav a.active {
  background: #EFF6FF;
  color: #2563EB;
  font-weight: 600;
  border-left-color: #2563EB;
}

.dash-nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .dash-sidebar {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
    padding: 12px 0;
  }
  .dash-nav {
    display: flex;
    overflow-x: auto;
    gap: 0;
  }
  .dash-nav a {
    padding: 10px 16px;
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .dash-nav a.active {
    border-left-color: transparent;
    border-bottom-color: #2563EB;
  }
}

/* Main content */
.dash-main {
  padding: 32px;
}

@media (max-width: 768px) {
  .dash-main {
    padding: 20px 16px;
  }
}

.dash-tab {
  display: none;
}

.dash-tab.active {
  display: block;
}

.dash-tab h2 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.dash-tab .tab-desc {
  color: #6B7280;
  font-size: 0.875rem;
  margin-bottom: 28px;
}

/* Save button */
.dash-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 12px;
}

.dash-save-btn:hover {
  background: #047857;
}

.dash-save-btn:active {
  transform: scale(0.98);
}

.dash-save-btn:disabled {
  background: #A7F3D0;
  cursor: not-allowed;
}

/* Status messages */
.dash-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  margin-bottom: 16px;
  display: none;
}

.dash-msg.success {
  display: block;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #16A34A;
}

.dash-msg.error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.photo-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item .photo-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}

.photo-item:hover .photo-delete {
  opacity: 1;
}

.photo-upload-zone {
  border: 2px dashed #D1D5DB;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.photo-upload-zone:hover {
  border-color: #2563EB;
  background: #EFF6FF;
}

.photo-upload-zone svg {
  width: 32px;
  height: 32px;
  color: #9CA3AF;
  margin-bottom: 8px;
}

.photo-upload-zone p {
  color: #6B7280;
  font-size: 0.875rem;
  margin: 0;
}

.photo-upload-zone span {
  color: #2563EB;
  font-weight: 600;
}

/* Openingstijden tabel */
.tijden-tabel {
  width: 100%;
  border-collapse: collapse;
}

.tijden-tabel td {
  padding: 10px 12px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.875rem;
}

.tijden-tabel td:first-child {
  font-weight: 600;
  color: #374151;
  width: 120px;
}

.tijden-tabel input[type="time"] {
  padding: 6px 10px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.8125rem;
}

.tijden-tabel input[type="time"]:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* No bedrijf state */
.dash-empty {
  text-align: center;
  padding: 64px 24px;
}

.dash-empty svg {
  width: 64px;
  height: 64px;
  color: #D1D5DB;
  margin-bottom: 16px;
}

.dash-empty h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.dash-empty p {
  color: #6B7280;
  max-width: 400px;
  margin: 0 auto;
  font-size: 0.875rem;
}

/* Loading state */
.dash-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: #9CA3AF;
  font-size: 0.875rem;
}

.dash-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #E5E7EB;
  border-top-color: #2563EB;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
