/*
 * Meubelbaas style.css
 * 
 * BELANGRIJK: Deze stylesheet is ontworpen om te gebruiken samen met Tailwind CSS.
 * Zorg ervoor dat de volgende regel is toegevoegd aan de <head> sectie van elke HTML/PHP pagina:
 * 
 * <link href="https://cdn.jsdelivr.net/npm/tailwindcss@3.3.3/dist/tailwind.min.css" rel="stylesheet">
 * 
 * Voeg deze regel toe VÓÓR de link naar deze stylesheet:
 * <link rel="stylesheet" href="/css/style.css">
 */

/* style.css */

/* Basis stijlen */
html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #111827;
}

.app-container {
  min-height: 100%;
}

/* Navigatie */
.nav {
  background-color: #1f2937;
}

.nav-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .nav-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.nav-content {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-section {
  display: flex;
  align-items: center;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 2rem;
  width: 2rem;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: block;
    margin-left: 2.5rem;
  }
}

.nav-links-list {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.nav-link {
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-link-active {
  background-color: #111827;
  color: #ffffff;
}

.nav-link-inactive {
  color: #d1d5db;
}

.nav-link-inactive:hover {
  background-color: #374151;
  color: #ffffff;
}

/* Profiel sectie */
.profile-section {
  display: none;
}

@media (min-width: 768px) {
  .profile-section {
    display: block;
    margin-left: 1rem;
  }
}

.profile-actions {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
}

.notification-button {
  position: relative;
  border-radius: 9999px;
  background-color: #1f2937;
  padding: 0.25rem;
  color: #9ca3af;
}

.notification-button:hover {
  color: #ffffff;
}

.notification-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1f2937;
}

.profile-dropdown {
  position: relative;
  margin-left: 0.75rem;
}

.profile-button {
  position: relative;
  display: flex;
  max-width: 20rem;
  align-items: center;
  border-radius: 9999px;
  background-color: #1f2937;
  text-align: left;
  font-size: 0.875rem;
}

.profile-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1f2937;
}

.profile-image {
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
}

.profile-initials {
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  background-color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
}

.profile-menu {
  position: absolute;
  right: 0;
  z-index: 10;
  margin-top: 0.5rem;
  width: 12rem;
  transform-origin: top right;
  border-radius: 0.375rem;
  background-color: #ffffff;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-menu.hidden {
  display: none;
}

.profile-menu-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
}

.profile-menu-item:hover {
  background-color: #f3f4f6;
}

/* Mobiel menu */
.mobile-menu-button {
  display: flex;
  margin-right: -0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}

.mobile-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background-color: #1f2937;
  padding: 0.5rem;
  color: #9ca3af;
}

.mobile-button:hover {
  background-color: #374151;
  color: #ffffff;
}

.mobile-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1f2937;
}

.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: block;
}

.mobile-links {
  padding: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .mobile-links {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.mobile-link {
  display: block;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-link-active {
  background-color: #111827;
  color: #ffffff;
}

.mobile-link-inactive {
  color: #d1d5db;
}

.mobile-link-inactive:hover {
  background-color: #374151;
  color: #ffffff;
}

.mobile-profile {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  padding-bottom: 0.75rem;
}

.mobile-profile-info {
  display: flex;
  align-items: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.mobile-profile-details {
  margin-left: 0.75rem;
}

.mobile-profile-name {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 500;
  color: #ffffff;
}

.mobile-profile-email {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
}

.mobile-profile-actions {
  margin-top: 0.75rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.mobile-profile-link {
  display: block;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: none;
}

.mobile-profile-link:hover {
  background-color: #374151;
  color: #ffffff;
}

/* Header */
.page-header {
  background-color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
  .header-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
}

/* Main content */
.main-content {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
  .main-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .main-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden {
  display: none;
}

/* Icon sizes */
.icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Footer */
.page-footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
  }
  
  .footer-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1rem;
  }
  
  @media (min-width: 640px) {
    .footer-container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  
  @media (min-width: 1024px) {
    .footer-container {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-copyright, .footer-version {
    font-size: 0.875rem;
    color: #6b7280;
  }

  /* Dashboard pagina */
.dashboard-content {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
  }
  
  .dashboard-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
  }
  
  .dashboard-description {
    color: #6b7280;
    margin-bottom: 1rem;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .stats-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .stat-card {
    padding: 1rem;
    border-radius: 0.5rem;
    border-width: 1px;
  }
  
  .stat-card-blue {
    background-color: #eff6ff;
    border-color: #dbeafe;
  }
  
  .stat-card-green {
    background-color: #ecfdf5;
    border-color: #d1fae5;
  }
  
  .stat-card-purple {
    background-color: #f5f3ff;
    border-color: #ede9fe;
  }
  
  .stat-title {
    font-size: 1rem;
    font-weight: 500;
  }
  
  .stat-card-blue .stat-title {
    color: #1e40af;
  }
  
  .stat-card-green .stat-title {
    color: #065f46;
  }
  
  .stat-card-purple .stat-title {
    color: #5b21b6;
  }
  
  .stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 0.25rem;
  }
  
  .stat-card-blue .stat-value {
    color: #2563eb;
  }
  
  .stat-card-green .stat-value {
    color: #10b981;
  }
  
  .stat-card-purple .stat-value {
    color: #8b5cf6;
  }

 /* Orderkoppelingen pagina */
.koppelingen-container {
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .koppelingen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #e5e7eb;
  }
  
  @media (min-width: 640px) {
    .koppelingen-header {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  
  .koppelingen-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
  }
  
  .koppelingen-description {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
  }
  
  .button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    text-decoration: none;
  }
  
  .button-primary {
    color: #ffffff;
    background-color: #2563eb;
    border-color: #2563eb;
  }
  
  .button-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
  }
  
  .koppelingen-table-container {
    border-top: 1px solid #e5e7eb;
  }
  
  .koppelingen-table {
    min-width: 100%;
    border-collapse: collapse;
  }
  
  .table-header {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .table-cell {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .table-cell-title {
    font-weight: 500;
    color: #111827;
  }
  
  .table-cell-actions {
    text-align: right;
  }
  
  .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
  }
  
  .status-active {
    background-color: #d1fae5;
    color: #065f46;
  }
  
  .status-inactive {
    background-color: #fee2e2;
    color: #991b1b;
  }
  
  .table-link {
    color: #2563eb;
    text-decoration: none;
  }
  
  .table-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
  }

  /* Login pagina styling */
/* Voeg dit toe aan je bestaande style.css bestand */

/* Container voor login formulieren */
.login-container {
    max-width: 400px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
  }
  
  /* Login pagina header */
  .login-header {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .login-logo {
    display: block;
    height: 4rem;
    width: auto;
    margin: 0 auto 1.5rem;
  }
  
  .login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
  }
  
  .login-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    text-align: center;
  }
  
  /* Formulier elementen */
  .login-form {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    text-align: left;
    margin-top: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
  }
  
  .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1f2937;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  
  .form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }
  
  /* Foutmeldingen */
  .login-error {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
  }
  
  /* Knoppen */
  .login-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.15s ease-in-out;
  }
  
  .login-button:hover {
    background-color: #2563eb;
  }
  
  /* Links onder het formulier */
  .login-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
  }
  
  .login-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
  }
  
  .login-link:hover {
    text-decoration: underline;
  }
  
  .login-footer-divider {
    margin: 1rem 0;
    border-top: 1px solid #e5e7eb;
  }
  
  /* Responsive aanpassingen */
  @media (max-width: 640px) {
    body.login-page {
      padding: 1rem;
      height: auto;
      overflow: auto;
    }
  }
  
  /* Specifieke styling voor verschillende login pagina's */
  /* Signup success pagina */
  .success-message {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* Password reset pagina */
  .token-error {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* Algemene body styling voor login pagina's */
  body.login-page {
    background-color: #f3f4f6;
    min-height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }