/* Custom styles for authentication pages */
:root {
  --primary-color: #f44336;
  --primary-color-hover: #e53935;
  --accent-color: #ff7043;
  --border-color: #e0e0e0;
  --text-color: #333;
  --light-text: #757575;
  --bg-dark: #333333;
  --bg-light: #ffffff;
}

/* Auth page structure */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-light);
}

/* Auth header */
.auth-header {
  background-color: var(--bg-dark);
  padding: 20px 0;
  position: relative;
}

.auth-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Auth main content */
.auth-main {
  flex: 1;
  padding: 60px 0;
}

.auth-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.auth-container h2 {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  color: var(--text-color);
}

/* Logo */
.auth-logo {
  text-align: left;
}

.auth-logo a {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.auth-logo a:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color);
  top: 12px;
  right: -8px;
}

/* Header navigation */
.auth-header-nav {
  display: flex;
}

.auth-header-button {
  display: inline-block;
  padding: 8px 20px;
  margin-left: 10px;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.auth-header-button.login {
  background-color: transparent;
  color: #fff;
}

.auth-header-button.login:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.auth-header-button.signup {
  background: linear-gradient(to right, #f44336, #ff7043);
  color: white;
}

.auth-header-button.signup:hover {
  opacity: 0.9;
}

/* Main area branding */
.auth-title {
  text-align: center;
  margin-bottom: 20px;
}

.auth-title h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.auth-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.auth-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
}

.auth-links a.active {
  color: var(--primary-color);
}

.auth-links a:hover {
  color: var(--primary-color);
}

/* Form panel */
.auth-panel {
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

/* Form styling */
.auth-form input, 
.auth-form select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
}

.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: none;
}

.auth-form button {
  background: linear-gradient(to right, #f44336, #ff7043);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: opacity 0.3s;
}

.auth-form button:hover {
  opacity: 0.9;
}

/* Password requirements text */
.password-hint {
  font-size: 12px;
  color: var(--light-text);
  margin-top: -10px;
  margin-bottom: 15px;
}

/* Terms and conditions */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.terms-checkbox input[type="checkbox"] {
  width: auto;
  min-width: 16px;
  height: 16px;
  margin-right: 10px;
  margin-top: 3px;
}

.terms-checkbox a {
  color: var(--accent-color);
  text-decoration: none;
}

.terms-checkbox a:hover {
  text-decoration: underline;
}

/* Account login/register links */
.auth-account-links {
  text-align: center;
  margin-top: 25px;
}

.auth-account-links a {
  color: var(--accent-color);
  text-decoration: none;
}

.auth-account-links a:hover {
  text-decoration: underline;
}

/* Alert boxes */
.alert {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 4px;
}

.alert-danger {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.alert-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .auth-header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .auth-logo {
    text-align: center;
  }
  
  .auth-header-nav {
    width: 100%;
    justify-content: center;
  }
  
  .auth-panel {
    padding: 30px 20px;
  }
  
  .auth-title h1 {
    font-size: 32px;
  }
  
  .auth-main {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .auth-form .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  .auth-form [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }
  
  .auth-title h1 {
    font-size: 28px;
  }
  
  .auth-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .auth-panel {
    padding: 25px 15px;
  }
  
  .auth-form button {
    padding: 10px;
  }
  
  .terms-checkbox label {
    font-size: 14px;
  }
}

/* Fix for header buttons on small screens */
@media (max-width: 370px) {
  .auth-header-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  .auth-header-button {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* Leave comment section styling for auth pages */
.leave-comment {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Override breadcrumb styling for auth pages */
.breadcrumb-section {
  position: relative;
}

.breadcrumb-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Remove border from inputs */
.auth-form input:focus, 
.auth-form select:focus {
  border-color: #ff7043;
  box-shadow: none;
}

/* Make sure the checkbox styling is correct */
.terms-checkbox input[type="checkbox"] {
  min-width: 16px;
  height: 16px;
}

/* Member Dashboard Styles */
.dashboard-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
}

/* Dashboard Header */
.dashboard-header {
  background-color: var(--bg-dark);
  padding: 20px 0;
  position: relative;
}

.dashboard-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Dashboard Main Content */
.dashboard-main {
  flex: 1;
  padding: 40px 0;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Dashboard Title Section */
.dashboard-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  background: var(--bg-dark);
  color: white;
  padding: 60px 0;
}

.dashboard-title h1 {
  font-size: 42px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.dashboard-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.dashboard-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
}

.dashboard-links a.active {
  color: var(--primary-color);
}

.dashboard-links a:hover {
  color: white;
}

/* Dashboard Content Grid */
.dashboard-grid {
  display: flex;
  gap: 30px;
}

/* Sidebar styles */
.dashboard-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.sidebar-profile {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 20px;
}

.profile-header {
  padding: 20px;
  text-align: center;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid var(--accent-color);
  background-color: #f0f0f0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.profile-role {
  color: var(--light-text);
  font-size: 14px;
}

.sidebar-nav {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.sidebar-nav-item:last-child {
  border-bottom: none;
}

.sidebar-nav-item i {
  font-size: 18px;
  width: 25px;
  margin-right: 10px;
  color: var(--light-text);
}

.sidebar-nav-item.active {
  background: linear-gradient(to right, rgba(244, 67, 54, 0.1), rgba(255, 112, 67, 0.1));
  color: var(--primary-color);
  font-weight: 500;
  border-left: 3px solid var(--primary-color);
}

.sidebar-nav-item.active i {
  color: var(--primary-color);
}

.sidebar-nav-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.sidebar-nav-item.logout {
  color: #f44336;
}

.sidebar-nav-item.logout i {
  color: #f44336;
}

/* Dashboard Content */
.dashboard-content {
  flex: 1;
}

.welcome-header {
  margin-bottom: 30px;
}

.welcome-header h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.welcome-header p {
  color: var(--light-text);
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.stat-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.stat-card-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.stat-card-icon i {
  color: white;
  font-size: 20px;
}

.stat-card-title {
  font-size: 16px;
  color: var(--light-text);
  margin: 0;
}

.stat-card-value {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 15px;
}

.stat-card-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: auto;
}

.stat-card-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Quick Actions */
.quick-actions {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 30px;
}

.quick-actions h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.action-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s;
}

.action-card:hover {
  background: linear-gradient(to right, rgba(244, 67, 54, 0.05), rgba(255, 112, 67, 0.05));
  transform: translateY(-3px);
}

.action-card i {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

/* User profile section */
.profile-section {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 30px;
}

.profile-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .dashboard-grid {
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-title h1 {
    font-size: 32px;
  }
  
  .dashboard-main {
    padding: 20px 0;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .actions-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-title {
    padding: 40px 0;
  }
  
  .profile-avatar {
    width: 80px;
    height: 80px;
  }
  
  .stat-card-value {
    font-size: 28px;
  }
} 