/* Reset en basis stijlen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
}

:root {
  --primary-color: #445c3c;
  --primary-hover: #384a31;
  --secondary-color: #d9a760;
  --secondary-hover: #c89650;
  --sidebar-bg: #ffffff;
  --sidebar-hover: #445c3c;
  --sidebar-active: #445c3c;
  --sidebar-text: #333333;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #6b7280;
  --bg-light: #f8f8f5;
  --bg-white: #ffffff;
  --border-light: #e5e5e0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

  /* Status kleuren */
  --status-success-bg: #ecfdf5;
  --status-success-text: #065f46;
  --status-warning-bg: #fffbeb;
  --status-warning-text: #92400e;
  --status-error-bg: #fef2f2;
  --status-error-text: #991b1b;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Logo stijlen */
.logo {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-icon {
  color: var(--primary-color);
  font-size: 28px;
  display: flex;
  align-items: center;
  background-color: #f0f4ee;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  justify-content: center;
  margin-bottom: 10px;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Formulier stijlen */
.login-form {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 30px;
  width: 100%;
  max-width: 400px;
}

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

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 16px;
  background-color: #f9f9f9;
}

input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: #999;
}

input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(68, 92, 60, 0.1);
}

.btn-login {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.2s;
}

.btn-login:hover {
  background-color: var(--primary-hover);
}

.forgot-password {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #f3f4f6;
  color: var(--text-dark);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s;
}

.forgot-password:hover {
  background-color: #e5e7eb;
}

.register-link,
.login-link {
  text-align: center;
  margin-top: 20px;
}

.register-link a,
.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.register-link a:hover,
.login-link a:hover {
  text-decoration: underline;
}

/* Notificatie stijlen */
.notification {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
}

.notification.success {
  background-color: var(--status-success-bg);
  color: var(--status-success-text);
  border-left: 4px solid #10b981;
}

.notification.error {
  background-color: var(--status-error-bg);
  color: var(--status-error-text);
  border-left: 4px solid #ef4444;
}

.info-text {
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-muted);
}

/* Dashboard stijlen */
.dashboard-container {
  min-height: 100vh;
  background-color: var(--bg-light);
}

.dashboard-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-header .logo {
  margin-bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.dashboard-header .logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  margin-bottom: 0;
}

.dashboard-header .logo h1 {
  font-size: 18px;
  margin: 0;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-info span {
  margin-right: 15px;
  color: var(--text-muted);
}

.btn-logout {
  padding: 8px 15px;
  background-color: #f8f9fa;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s;
}

.btn-logout:hover {
  background-color: #e9ecef;
}

.dashboard-content {
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-content h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 600;
}

.dashboard-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.widget {
  background-color: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.widget h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
}

.widget ul {
  list-style: none;
}

.widget ul li {
  margin-bottom: 10px;
}

.widget ul li a {
  color: var(--primary-color);
  text-decoration: none;
}

.widget ul li a:hover {
  text-decoration: underline;
}

/* Responsieve aanpassingen */
@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .dashboard-header .logo {
    margin-bottom: 15px;
    justify-content: center;
  }

  .user-info {
    flex-direction: column;
  }

  .user-info span {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
