/* Base Styles */
:root {
  --primary-color: #4361EE;
  --primary-dark: #3A56D4;
  --primary-light: #4CC9F0;
  --secondary-color: #F72585;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-dark: #212529;
  --success-color: #4BB543;
  --warning-color: #FFD60A;
  --danger-color: #DC3545;
  --border-color: #E9ECEF;
  --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #d81b76;
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

/* Header */
.site-header {
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.welcome-message {
  margin-top: 2rem;
}

/* Features Section */
.features {
  padding: 3rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Dashboard Styles */
.dashboard {
  margin-top: 2rem;
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

.dashboard-sidebar {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.user-card {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.user-avatar {
  margin-bottom: 1rem;
}

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

.avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 auto;
}

.dashboard-nav ul {
  list-style: none;
}

.dashboard-nav li {
  margin-bottom: 0.5rem;
}

.dashboard-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.dashboard-nav a:hover,
.dashboard-nav li.active a {
  background-color: var(--primary-light);
  color: var(--bg-color);
}

.dashboard-main {
  display: grid;
  gap: 2rem;
}

.dashboard-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.checklist {
  list-style: none;
  margin-top: 1rem;
}

.checklist li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
}

.checklist li:before {
  content: "□";
  position: absolute;
  left: 0;
}

.checklist li.checked:before {
  content: "✓";
  color: var(--success-color);
}

/* Profile Page Styles */
.profile-page {
  margin-top: 2rem;
}

.profile-header {
  margin-bottom: 2rem;
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

/* Status badges for user verification */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

.status-badge.verified {
  background-color: var(--success-color);
  color: white;
}

.status-badge.unverified {
  background-color: var(--warning-color);
  color: var(--bg-dark);
}

.profile-sidebar {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.profile-avatar {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-change-link {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.profile-nav ul {
  list-style: none;
}

.profile-nav li {
  margin-bottom: 0.5rem;
}

.profile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.profile-nav a:hover,
.profile-nav li.active a {
  background-color: var(--primary-light);
  color: var(--bg-color);
}

.profile-main {
  display: grid;
  gap: 2rem;
}

.profile-section {
  margin-bottom: 2rem;
}

.profile-info-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.info-row {
  display: flex;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  flex: 1;
  font-weight: 500;
  color: var(--text-light);
}

.info-value {
  flex: 2;
}

.card-actions {
  margin-top: 1.5rem;
  text-align: right;
}

/* Error Page */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-container {
  max-width: 500px;
  padding: 2rem;
}

.error-container h1 {
  font-size: 6rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.error-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  background-color: var(--bg-dark);
  color: white;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .dashboard-content,
  .profile-content {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero {
    padding: 3rem 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}