@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --font-family: 'Outfit', sans-serif;
  --bg-gradient: linear-gradient(135deg, #CCFFCC 0%, #e6ffe6 50%, #f3faf3 100%);
  --sidebar-gradient: linear-gradient(180deg, #163813 0%, #0d210b 100%);
  --primary-accent: #2e7d32;
  --secondary-accent: #c2185b;
  --success-accent: #2e7d32;
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(46, 125, 50, 0.15);
  --text-primary: #1b2e1a;
  --text-muted: #556b54;
  --input-bg: #ffffff;
}

body {
  font-family: var(--font-family) !important;
  background: var(--bg-gradient) !important;
  background-attachment: fixed;
  color: var(--text-primary) !important;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Glassmorphism Card Style */
.premium-card {
  background: var(--card-bg) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--card-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 125, 50, 0.35) !important;
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.12);
}

/* Custom Text Inputs */
.premium-input {
  background: var(--input-bg) !important;
  border: 1px solid rgba(46, 125, 50, 0.2) !important;
  color: var(--text-primary) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  transition: all 0.2s ease;
}

.premium-input:focus {
  outline: none !important;
  border-color: var(--primary-accent) !important;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15) !important;
}

.premium-input::placeholder {
  color: #8fa38e !important;
}

/* Custom Buttons */
.premium-btn-primary {
  background: linear-gradient(135deg, var(--primary-accent) 0%, #1b5e20 100%) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.2);
}

.premium-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
}

.premium-btn-danger {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.2);
}

.premium-btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.35);
}

/* Custom Sidebar styling */
.premium-sidebar {
  background: var(--sidebar-gradient) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 100vh;
}

.premium-nav-link {
  color: #b3d2b0 !important;
  font-weight: 500;
  padding: 12px 20px !important;
  border-radius: 10px;
  margin: 4px 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.premium-nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.premium-nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  border-left: 3px solid #66bb6a;
}

/* Tables styling */
.premium-table {
  color: var(--text-primary) !important;
  background: transparent !important;
}

.premium-table th {
  border-bottom: 2px solid rgba(46, 125, 50, 0.2) !important;
  color: var(--text-muted) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  background-color: rgba(46, 125, 50, 0.04) !important;
}

.premium-table td {
  border-bottom: 1px solid rgba(46, 125, 50, 0.08) !important;
  color: var(--text-primary) !important;
  vertical-align: middle;
}

.premium-table tr:hover {
  background: rgba(46, 125, 50, 0.02) !important;
}

/* Page titles and details */
.premium-title {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(to right, #1b5e20, #4caf50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.premium-legend {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-accent);
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 8px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Profile Photo Styling */
.profile-photo-container {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-accent);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
  margin: 0 auto;
}

.profile-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dashboard Action Cards */
.dashboard-action-card {
  border: 1px solid rgba(46, 125, 50, 0.12);
  border-radius: 12px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: block;
}

.dashboard-action-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-accent);
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.12);
}

.dashboard-action-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.dashboard-action-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dashboard-action-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}
