/* Base Styles */
:root {
  --primary: #0a5f9e;
  --primary-light: #3c92d1;
  --primary-dark: #074e82;
  --primary-50: #e6f0f9;
  --primary-100: #cce1f3;
  --primary-200: #99c3e7;
  --primary-300: #66a5db;
  --primary-400: #3387cf;
  --primary-600: #074e82;
  --primary-700: #0a568f;
  --primary-800: #053e66;
  --primary-900: #032f4d;

  --secondary: #3c92d1;
  --accent: #e6f0f9;
  --muted: #dadada;
  --muted-foreground: #414042;

  --background: #f8fbfd;
  --foreground: #212121;

  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --border-radius: 0.75rem;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

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

#index-heading {
  color: white;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-700);
  margin-bottom: 0.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.875rem;
}

.primary-btn {
  background: linear-gradient(90deg, #0a5f9e 0%, #042238 100%);
  color: white;
}

.primary-btn:hover {
  background-color: rgb(0, 14, 54);
}

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

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

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

.success-btn:hover {
  background-color: #1ca04a;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.icon-btn:hover {
  background-color: var(--primary-50);
}

/* Utilities */
.hidden {
  display: none !important;
}

.button-center {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-pulse {
  animation: pulse 10s infinite ease-in-out;
  -webkit-animation: pulse 10s infinite ease-in-out;
}

.animate-float {
  animation: float 6s infinite ease-in-out;
  -webkit-animation: float 6s infinite ease-in-out;
}

/* Gradients */
.blue-gradient-bg {
  background: linear-gradient(270deg, #b5dfff 0%, #fff 100%);
  border-radius: var(--border-radius);
}

/* Landing Page */
.landing-page {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #2785d8, #000000);
}

.landing-content {
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  width: 100%;
  height: 100%;
}

.landing-left {
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.logo img {
  width: 100px;
  height: 100px;
}

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

.landing-text {
  margin-bottom: 2rem;
}

.landing-text h2 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-700);
}

.main-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(230, 240, 249, 0.9));
  box-shadow: 0 8px 32px rgba(10, 95, 158, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(10, 95, 158, 0.15);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: rgba(10, 95, 158, 0.1);
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-700);
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Role Selection Page */
.role-selection-page {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #2785d8, #000000);
  display: flex;
  align-items: center;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.role-selection-page::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.role-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

.logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out;
}

.logo-center img {
  width: 120px;
  height: 120px;
  animation: floatAnimation 3s ease-in-out infinite;
}

.logo-center span {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #b5dfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.role-heading {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.role-heading h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, #b5dfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.role-heading p {
  color: #b5dfff;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.role-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.role-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s backwards;
  position: relative;
  overflow: hidden;
}

.role-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.role-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transform: rotate(0deg);
  transition: all 0.8s ease;
}

.role-card:hover::before {
  transform: rotate(180deg);
}

.role-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  animation: floatAnimation 4s ease-in-out infinite;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.role-card:nth-child(2) {
  animation-delay: 0.8s;
}

.role-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.role-card p {
  color: #b5dfff;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .role-heading h1 {
    font-size: 2.2rem;
  }

  .role-heading p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .role-cards {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .logo-center span {
    font-size: 2rem;
  }
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #2785d8, #000000);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.auth-content {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
  width: 100%;
  animation: fadeInUp 1s ease-out;
}

.logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out;
}

.logo-center img {
  width: 60px;
  height: 60px;
  animation: floatAnimation 3s ease-in-out infinite;
}

.logo-center span {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #b5dfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.auth-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.auth-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
  flex: 1;
  padding: 1rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.auth-tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.auth-tab.active {
  color: #fff;
}

.auth-tab.active::after {
  transform: scaleX(1);
}

.auth-tab:hover {
  color: #fff;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #fff, #b5dfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.auth-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

.forgot-password {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #fff;
}

.btn.primary-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .auth-card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .auth-tab {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .auth-header h2 {
    font-size: 1.5rem;
  }
}

/* Media Queries */
@media (min-width: 768px) {
  .landing-content {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }

  .landing-left {
    flex: 1;
    margin-bottom: 0;
  }

  .landing-right {
    flex: 2;
  }

  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .role-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(10, 95, 158, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(10, 95, 158, 0.4);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Enhanced Hero Section */
.hero-section {
  background: linear-gradient(-45deg, #e6f0f9, #b5dfff, #99c3e7, #66a5db);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  padding: 4rem 2rem;
  border-radius: 2rem;
  display: flex;
  gap: 4rem;
  align-items: center;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(10, 95, 158, 0.15);
}

.hero-left {
  flex: 1;
  animation: fadeInUp 1s ease-out;
}

.hero-right {
  flex: 1.5;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Enhanced Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.logo-section img {
  width: 100px;
  height: 100px;
  animation: floatAnimation 3s ease-in-out infinite;
}

.logo-section .brand-name {
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out;
}

.hero-text {
  margin-bottom: 2rem;
}

.hero-heading {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-description {
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.social-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(10, 95, 158, 0.2);
}

.social-icon:hover {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(10, 95, 158, 0.3);
}

/* Enhanced Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(10, 95, 158, 0.15);
  border-color: var(--primary-light);
  animation: glowPulse 2s infinite;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: 50%;
  animation: floatAnimation 4s ease-in-out infinite;
}

.feature-title {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-description {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
}

/* Enhanced CTA Button */
.cta-button {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  background-size: 200% auto;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(10, 95, 158, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 95, 158, 0.3);
}

.cta-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.cta-button:hover::after {
  transform: rotate(45deg) translate(50%, 50%);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    animation-delay: 0.2s;
  }

  .feature-card:nth-child(2) {
    animation-delay: 0.4s;
  }

  .feature-card:nth-child(3) {
    animation-delay: 0.6s;
  }

  .hero-heading {
    font-size: 2rem;
  }
}

/* Glass Morphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(10, 95, 158, 0.1);
}

/* Doctor Dashboard Styles */
.doctor-dashboard {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(-45deg, #e6f0f9, #b5dfff, #99c3e7, #66a5db);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.sidebar {
  width: 280px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: slideInLeft 0.5s ease-out;
}

.doctor-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.doctor-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #2785d8, #1a5fa0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
  animation: floatAnimation 3s ease-in-out infinite;
}

.doctor-info h3 {
  font-size: 1.2rem;
  margin: 0;
  background: linear-gradient(135deg, #2785d8, #1a5fa0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.doctor-info p {
  margin: 0.25rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.sidebar-nav li.active a {
  background: linear-gradient(135deg, #2785d8, #1a5fa0);
  color: white;
}

.main-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.dashboard-header {
  margin-bottom: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

.dashboard-header h1 {
  font-size: 2.5rem;
  margin: 0;
  background: linear-gradient(135deg, #2785d8, #1a5fa0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.notification-icon {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.notification-icon:hover {
  transform: scale(1.1);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.doctor-mini-profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.doctor-mini-profile:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.mini-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2785d8, #1a5fa0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
}

.dashboard-tabs {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  animation: fadeInUp 0.5s ease-out 0.2s backwards;
}

.tabs-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background: none;
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #2785d8, #1a5fa0);
  transition: width 0.3s ease;
}

.tab-btn:hover::after,
.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
  display: block;
}

.search-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.2);
  border-color: #2785d8;
}

.search-box input {
  flex: 1;
  border: none;
  background: none;
  color: var(--text-primary);
  font-size: 1rem;
}

.search-box input::placeholder {
  color: var(--text-secondary);
}

.patient-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.patient-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out;
}

.patient-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.2);
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.patient-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #2785d8, #1a5fa0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
}

.patient-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alert-badge {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.alert-badge.critical {
  background: rgba(255, 71, 87, 0.2);
  color: #ff4757;
  animation: pulse 2s infinite;
}

.alert-badge.stable {
  background: rgba(46, 213, 115, 0.2);
  color: #2ed573;
}

.alert-badge.warning {
  background: rgba(255, 159, 67, 0.2);
  color: #ff9f43;
}

.appointments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.appointment-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out;
}

.appointment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.2);
}

.appointment-details {
  margin: 1rem 0;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.alerts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.alert-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out;
}

.alert-card.critical {
  border-color: rgba(255, 71, 87, 0.4);
  animation: glowPulse 2s infinite;
}

.alert-card.warning {
  border-color: rgba(255, 159, 67, 0.4);
}

.alert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.alert-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px rgba(255, 71, 87, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 71, 87, 0.2);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .doctor-dashboard {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    padding: 1rem;
  }

  .main-content {
    padding: 1rem;
  }

  .dashboard-header h1 {
    font-size: 2rem;
  }

  .appointments-grid,
  .alerts-grid {
    grid-template-columns: 1fr;
  }

  .search-container {
    flex-direction: column;
  }

  .patient-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .patient-status {
    width: 100%;
    flex-wrap: wrap;
  }
}
