/* Role Badge Styles */
.role-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.role-admin {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
}

.role-worker {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
}

.role-partner {
  background: linear-gradient(135deg, #c9a86a, #b8934a);
  color: white;
}

.role-customer {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.role-guest {
  background: #e0e0e0;
  color: #666;
}

/* User Role Indicator in Navigation */
.nav-greeting {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(201, 168, 106, 0.1);
  border-radius: 8px;
  color: var(--text-body);
}

.nav-greeting .gold-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

/* Role-based Navigation Items */
.nav-role-menu {
  position: relative;
  display: inline-block;
}

.nav-role-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  margin-top: 8px;
}

.nav-role-menu:hover .nav-role-dropdown {
  display: block;
}

.nav-role-dropdown a {
  display: block;
  padding: 12px 16px;
  color: var(--text-body);
  text-decoration: none;
  transition: background 0.2s;
}

.nav-role-dropdown a:hover {
  background: rgba(201, 168, 106, 0.1);
}

/* Access Denied Page Styles */
.access-denied-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 40px 20px;
}

.access-denied-icon {
  font-size: 80px;
  margin-bottom: 20px;
}

.access-denied-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.access-denied-message {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.access-denied-actions {
  display: flex;
  gap: 16px;
}
