/**
 * File: css/theme.css
 * Shared theme tokens and navigation styles for Pelham Family site
 */

:root {
  --primary: #0a1935;
  --secondary: #000000;
  --accent: #d4af37;
  --light: #ffffff;
}

/* Navbar styling */
.navbar,
.navbar-dark {
  background-color: var(--primary) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: bold;
  color: #ffffff !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
}

/* User profile dropdown styling */
.user-dropdown {
  cursor: pointer;
  padding: 8px 12px;
  margin-left: 10px;
  transition: all 0.2s ease;
  border-radius: 50px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.user-dropdown:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info {
  margin-left: 10px;
  margin-right: 10px;
  white-space: nowrap;
}

.user-name {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.user-role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin: 0;
  line-height: 1.2;
}

.dropdown-arrow {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 5px;
  font-size: 12px;
}

.dropdown-menu {
  margin-top: 10px;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  min-width: 240px;
}

.dropdown-header {
  background-color: #f8f9fa;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

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

.dropdown-header-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.dropdown-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-header-text h6 {
  margin: 0;
  font-weight: 600;
  color: #333333;
}

.dropdown-header-text p {
  margin: 0;
  font-size: 13px;
  color: #666666;
}

.dropdown-item {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
  color: #333333;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #333333;
}

.dropdown-item i {
  margin-right: 12px;
  font-size: 18px;
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.dropdown-item-text {
  font-size: 14px;
  color: #333333;
}

.dropdown-divider {
  margin: 0;
}
