/* Dark Theme Colors */
:root {
    --dark-bg: #1a1a1a;
    --dark-surface: #2d2d2d;
    --dark-surface-hover: #3d3d3d;
    --dark-text: #ffffff;
    --dark-text-secondary: rgba(255, 255, 255, 0.7);
    --dark-border: rgba(255, 255, 255, 0.1);
    --accent-color: #ffd700;
    --accent-hover: #ffed4a;
}

body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    padding-top: 60px;
}

/* Navigation */
.dashboard-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--dark-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-left, .nav-right {
    flex: 1;
}

.nav-center {
    flex: 2;
    text-align: center;
}

.nav-center h4 {
    margin: 0;
    color: var(--accent-color);
    font-weight: 500;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--dark-text);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

.profile-menu {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--accent-color);
    transition: transform 0.2s;
}

.profile-img:hover {
    transform: scale(1.05);
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--dark-surface);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 200px;
}

.profile-dropdown.show {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.profile-dropdown a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.profile-dropdown a i {
    margin-right: 0.75rem;
    width: 20px;
    color: var(--accent-color);
}

.profile-dropdown a:hover {
    background-color: var(--dark-surface-hover);
}

/* Sidebar */
.dashboard-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: var(--dark-surface);
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    z-index: 1000;
    overflow-y: auto;
}

.dashboard-sidebar.show {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--dark-border);
}

.sidebar-logo {
    height: 40px;
}

.close-sidebar {
    background: none;
    border: none;
    color: var(--dark-text);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

.sidebar-menu {
    padding: 1rem 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--dark-text);
    text-decoration: none;
    transition: background-color 0.2s;
}

.menu-item i {
    margin-right: 1rem;
    width: 20px;
    color: var(--accent-color);
}

.menu-item:hover {
    background-color: var(--dark-surface-hover);
    color: var(--accent-color);
}

/* Overlay */
.dashboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.dashboard-overlay.show {
    display: block;
}

/* Modern Dashboard Styles */
.page-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
}

/* Modern Tile Cards */
.tile-card-modern {
  background: white;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tile-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Equal Grid */
.equal-grid > .col {
  display: flex;
}

.equal-grid .card {
  width: 100%;
}

/* Help Cards */
.help-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.floating-animation {
  animation: float 3s ease-in-out infinite;
}

/* Session Card */
.session-card {
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.meet-dot {
  background: #4285f4;
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Pulse Animation */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

/* Modern Button */
.modern-button {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.modern-button:hover {
  opacity: 0.9;
  color: white;
}

/* Card Hover Effect */
.card-hover-effect {
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-hover-effect:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Helper Classes */
.x-link {
  text-decoration: none;
}

/* Body Spacing for Fixed Header */
body {
  padding-top: 75px; /* Adjust based on your header height */
}

/* Responsive */
@media (max-width: 768px) {
  .page-container {
    padding: 1rem;
  }
  
  .help-card {
    padding: 1rem;
  }
  
  .session-card {
    flex-direction: column;
    text-align: center;
  }
  
  body {
    padding-top: 60px; /* Smaller padding on mobile */
  }
}
