/* Remote Team Productivity System - Core Styles */

:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --info-color: #0dcaf0;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-bg: #f8f9fa;
  --dark-text: #212529;
  --sidebar-width: 250px;
  --header-height: 60px;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  overflow-x: hidden;
}

/* Auth Page */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5d9af5 0%, #91d3ff 100%);
}

.auth-card {
  width: 100%;
  max-width: 400px;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Sidebar */
#sidebar-wrapper {
  min-height: 100vh;
  margin-left: -15rem;
  transition: margin 0.25s ease-out;
  background-color: #fff;
  border-right: 1px solid #dee2e6;
  position: fixed;
  top: 0;
  left: 0;
  width: 15rem;
  z-index: 100;
}

#sidebar-wrapper .sidebar-heading {
  padding: 0.875rem 1.25rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  border-bottom: 1px solid #dee2e6;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

#sidebar-wrapper .list-group {
  width: 15rem;
}

#sidebar-wrapper .list-group-item {
  border: none;
  padding: 1rem 1.25rem;
  font-weight: 500;
}

#sidebar-wrapper .list-group-item.active {
  background-color: #e7f1ff;
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
}

#sidebar-wrapper .list-group-item:hover {
  background-color: #f8f9fa;
}

#page-content-wrapper {
  min-width: 100vw;
  transition: margin 0.25s ease-out;
}

body.sb-sidenav-toggled #sidebar-wrapper {
  margin-left: 0;
}

@media (min-width: 768px) {
  #sidebar-wrapper {
    margin-left: 0;
  }

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
    margin-left: 15rem;
  }

  body.sb-sidenav-toggled #sidebar-wrapper {
    margin-left: -15rem;
  }
  
  body.sb-sidenav-toggled #page-content-wrapper {
    margin-left: 0;
  }
}

.top-navbar {
  height: var(--header-height);
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 0 1.5rem;
}


.stat-card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: transform 0.2s;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Kanban */
.kanban-board {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1rem;
}

.kanban-column {
  min-width: 300px;
  background-color: #f1f2f4;
  border-radius: 0.5rem;
  padding: 1rem;
}

.kanban-column-header {
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  cursor: grab;
}

.task-card:active {
  cursor: grabbing;
}

.task-meta {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Avatar */
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #495057;
  font-weight: 600;
}

/* Utilities */
.text-xs {
  font-size: 0.75rem;
}
