body {
  background-color: #f8f8f8;
  overflow-x: hidden;
}

/* GLOBAL SEARCH */

.global_search_result {
  display: none;
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%),
    0 1px 5px 0 rgb(0 0 0 / 20%);
  min-height: 150px;
  max-height: 2400px;
}

.search_column {
  padding: 10px 5px !important;
  font-weight: bold !important;
  border-bottom: 2px solid #444444 !important;
  text-align: center;
}

.row_search {
  margin-bottom: 0 !important;
}

/* GLOBAL SEARCH */

/* PNG img */
.center-align_icon {
  width: 100% !important;
  margin-top: -5px;
}

/* Icon ON/OFF */
/* Estilos para el nuevo toggle */
.toggle-switch {
  display: inline-block;
  width: 50px;
  height: 24px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.toggle-switch.on {
  background-color: #28a745; /
}

.toggle-switch.off {
  background-color: #dc3545; 
}

.toggle-switch .toggle-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.2s ease-in-out;
}

.toggle-switch.on .toggle-handle {
  transform: translateX(26px);
}

.toggle-switch .toggle-text {
  color: white;
  font-size: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

.toggle-switch.on .toggle-text {
  left: 8px;
}

.toggle-switch.off .toggle-text {
  right: 8px;
}

.center-align_toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
/*** HEADER TEST ***/
.background.background-header {
  background-color: red;
}
/*** HEADER TEST ***/

/*** LOGIN CARD TEST ***/
.card-content.black-text.login-card-test {
  background-color: blanchedalmond;
}
/*** LOGIN CARD TEST ***/

/** ERROR LOGIN **/
.input-field-error {
  border-bottom-color: red !important;
}
/** ERROR LOGIN **/

.teal.lighten-2 {
  margin-bottom: 5px !important;
}

/** ERROR FECHAS RESUMEN **/
.date-resumen-error {
  border-bottom: 1px solid #ff0101 !important;
}

/** ICON ACTIONS (CLIENTE;PROYECTO, TAREA) IN DASHBOARD **/
.cell-action-list {
  width: 5% !important;
}

h1 {
  font-size: 2rem;
  margin: 0rem 0 2.6rem 0;
}

.page-blocker {
  height: 100vh;
  width: 100vw;
  background-color: #f8f8f8;
  position: fixed;
  top: 0px;
  left: 0px;
  overflow-y: hidden;
  overflow-x: hidden;
  z-index: 999;
}

.material-icons {
  vertical-align: middle;
}

.start-hidden {
  display: none;
}

.label-icon {
  font-size: 15px;
}

.card-content {
  overflow-x: hidden;
}

.reports .card-content {
  overflow-x: initial;
}

.login .row {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
}

.login .row .login-card {
  width: 100%;
}

#logout i {
  margin-right: 16px;
}

.conError {
  display: none;
  float: left;
  color: red;
}

@media only screen and (min-width: 1200px) {
  .helper-text {
    font-size: 15px !important;
  }
}

@media only screen and (min-width: 0) {
  .helper-text {
    font-size: 14px !important;
  }
}

@media (max-width: 992px) {
  .login .row {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }

  .login .row .login-card {
    width: 100%;
  }
}

.spacer {
  margin-bottom: 2rem;
}

.error {
  color: #f44336;
}

.error-message {
  display: none;
}

.sidenav-trigger {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.sidenav-trigger > .material-icons {
  font-size: 36px;
}

.sidenav .collapsible-header {
  padding: 0 32px;
}

.sidenav .collapsible-body li a {
  padding: 0 32px 0 52px;
  font-weight: 400;
}

/* Modern Sidebar Styling */
.modern-sidebar {
  width: 320px !important;
  background: white !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100vh !important;
}

.modern-sidebar #user-menu {
  flex: 1 !important;
  overflow-y: auto !important;
  padding-bottom: 80px !important;
}

.modern-sidebar .user-view {
  background: linear-gradient(135deg, #0A9CD9 0%, #0B8BC7 100%) !important;
  padding: 20px 24px !important;
  border-bottom: none !important;
}

.modern-sidebar .user-view .background {
  display: none !important;
}

.modern-sidebar .user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modern-sidebar .user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 12px;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.modern-sidebar .user-view p {
  margin: 2px 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.modern-sidebar .user-view #username span {
  font-size: 16px !important;
  font-weight: 600 !important;
}

.modern-sidebar .user-view #useremail span {
  font-size: 12px !important;
  opacity: 0.8;
}

.modern-sidebar .user-view #rol span {
  font-size: 12px !important;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-sidebar li > a {
  color: #424C54 !important;
  padding: 16px 24px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.modern-sidebar li > a:hover {
  background: #0A9CD9 !important;
  color: white !important;
  transform: none !important;
}

.modern-sidebar li > a.active {
  background: #0A9CD9 !important;
  color: white !important;
}

.modern-sidebar li > a i.material-icons {
  color: #424C54 !important;
  margin-right: 16px !important;
  font-size: 22px !important;
  width: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modern-sidebar li > a:hover i.material-icons,
.modern-sidebar li > a.active i.material-icons {
  color: white !important;
}

.modern-sidebar .collapsible-header {
  color: #424C54 !important;
  background: transparent !important;
  border: none !important;
  padding: 16px 24px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  height: auto !important;
  line-height: normal !important;
}

.modern-sidebar .collapsible-header:hover {
  background: #0A9CD9 !important;
  color: white !important;
}

.modern-sidebar .collapsible-header .header-content {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
}

.modern-sidebar .collapsible-header i.material-icons {
  color: #424C54 !important;
  margin-right: 16px !important;
  font-size: 22px !important;
  width: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modern-sidebar .collapsible-header:hover i.material-icons {
  color: white !important;
}

.modern-sidebar .collapsible-header::after {
  content: 'keyboard_arrow_down' !important;
  font-family: 'Material Icons' !important;
  font-size: 20px !important;
  color: #424C54 !important;
  transition: all 0.3s ease !important;
}

.modern-sidebar .collapsible-header:hover::after {
  color: white !important;
}

.modern-sidebar .collapsible.active .collapsible-header::after {
  transform: rotate(180deg) !important;
}

/* Ensure collapsible items match regular menu items */
.modern-sidebar .collapsible li {
  margin: 0 !important;
}

.modern-sidebar .collapsible-accordion {
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

.modern-sidebar .collapsible-body {
  background: #f8f9fa !important;
}

.modern-sidebar .collapsible-body li a {
  color: #424C54 !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  display: flex !important;
  align-items: center !important;
  margin-left: 0 !important;
  min-height: 48px !important;
}

.modern-sidebar .collapsible-body li a .text-content {
  flex: 1 !important;
  line-height: 1.2 !important;
}

.modern-sidebar .collapsible-body li a:hover {
  background: #0A9CD9 !important;
  color: white !important;
  transform: none !important;
}

.modern-sidebar .collapsible-body li a.active {
  background: #0A9CD9 !important;
  color: white !important;
}

.modern-sidebar .collapsible-body li a i.material-icons {
  font-size: 20px !important;
  margin-right: 16px !important;
  margin-left: 24px !important;
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #424C54 !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.modern-sidebar .collapsible-body li a:hover i.material-icons,
.modern-sidebar .collapsible-body li a.active i.material-icons {
  color: white !important;
}

.modern-sidebar .logout-item {
  position: absolute !important;
  bottom: 0 !important;
  width: 100% !important;
  border-top: 2px solid #e9ecef !important;
  background: linear-gradient(135deg, #424C54 0%, #2c3136 100%) !important;
}

.modern-sidebar .logout-item a {
  background: transparent !important;
  color: white !important;
  padding: 20px 24px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.modern-sidebar .logout-item a::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
  transition: left 0.5s ease !important;
}

.modern-sidebar .logout-item a:hover::before {
  left: 100% !important;
}

.modern-sidebar .logout-item a:hover {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
  color: white !important;
  transform: none !important;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2) !important;
}

.modern-sidebar .logout-item a i.material-icons {
  margin-right: 16px !important;
  color: white !important;
  font-size: 22px !important;
  width: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

.modern-sidebar .logout-item a:hover i.material-icons {
  transform: rotate(180deg) !important;
}

.card-inner {
  margin-bottom: 0;
}

.section-divider {
  height: 1px;
  width: 100%;
  background-color: #c0c0c0;
}

/* ===== DAILY ASSIGNMENTS - ASANA INSPIRED STYLES ===== */

/* Main assignment panel */
.assignment-panel {
  background: #fafbfc;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
}

/* Developers container */
.developers-container {
  max-height: 70vh;
  overflow-y: auto;
  padding: 8px;
}

.developer-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #e1e4e9;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.developer-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border-color: #d1d5db;
}

.developer-header {
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.developer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.developer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.developer-details h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.developer-details .role {
  font-size: 12px;
  color: #6b7280;
  margin: 2px 0 0 0;
}

.workload-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workload-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.workload-low { background: #dcfce7; color: #166534; }
.workload-medium { background: #fef3c7; color: #92400e; }
.workload-high { background: #fee2e2; color: #dc2626; }

.expand-icon {
  transition: transform 0.2s ease;
  color: #9ca3af;
}

.developer-card.expanded .expand-icon {
  transform: rotate(180deg);
}

/* Assigned tasks container */
.assigned-tasks-container {
  padding: 0 16px 16px 16px;
  display: none;
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
}

.developer-card.expanded .assigned-tasks-container {
  display: block;
}

.assigned-tasks-container.drag-over {
  background: #eff6ff;
  border: 2px dashed #3b82f6;
}

/* Task items */
.task-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
  margin: 8px 0;
  cursor: grab;
  transition: all 0.2s ease;
  position: relative;
}

.task-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

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

.task-item.dragging {
  opacity: 0.7;
  transform: rotate(2deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.task-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  flex: 1;
  margin-right: 8px;
}

.priority-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.priority-high { background: #fee2e2; color: #dc2626; }
.priority-medium { background: #fef3c7; color: #d97706; }
.priority-low { background: #ecfdf5; color: #059669; }

.task-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
}

.task-project {
  font-weight: 500;
}

.task-hours {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Task completion styles */
.task-completed {
  opacity: 0.7;
  background: #f9f9f9 !important;
}

.task-completed .task-title {
  text-decoration: line-through;
  color: #6b7280 !important;
}

.status-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-left: 8px;
}

.status-badge.completed {
  background: #dcfce7;
  color: #166534;
}

.task-actions {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

/* Available tasks container */
.tasks-container {
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* Search and filters */
.filters-row {
  background: white;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 20px;
}

.search-field {
  position: relative;
}

.search-field input {
  padding-left: 40px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  font-size: 14px !important;
}

.search-field .material-icons {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 18px;
}

/* Action buttons */
.action-buttons {
  background: white;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-top: 20px;
}

.btn-asana {
  border-radius: 6px;
  font-weight: 600;
  text-transform: none;
  padding: 0 16px;
  height: 36px;
  line-height: 36px;
  margin: 0 4px;
  transition: all 0.2s ease;
}

.btn-asana.primary {
  background: #f06a6a;
  border: none;
}

.btn-asana.primary:hover {
  background: #e55a5a;
}

.btn-asana.secondary {
  background: white;
  border: 1px solid #d1d5db;
  color: #374151;
}

.btn-asana.secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* Summary panel */
.daily-summary {
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 20px;
  margin-top: 20px;
}

/* ========== ESTILOS PARA ESTRUCTURA SIMPLIFICADA ========== */

/* Resumen compacto */
.daily-summary-compact {
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 15px 20px;
  margin-top: 20px;
}

.summary-stats-inline {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.stat-compact {
  font-size: 14px;
  color: #6b7280;
}

.stat-compact strong {
  color: #f06a6a;
  font-size: 18px;
  font-weight: 600;
}

/* Tareas disponibles simplificadas */
.task-item-simple {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  cursor: grab;
  transition: all 0.2s ease;
}

.task-item-simple:hover {
  border-color: #f06a6a;
  box-shadow: 0 2px 8px rgba(240, 106, 106, 0.1);
  transform: translateY(-1px);
}

.task-item-simple.dragging {
  opacity: 0.5;
  transform: rotate(2deg);
  cursor: grabbing;
}

.task-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #111827;
  margin-bottom: 4px;
}

.task-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: #6b7280;
}

.task-project {
  font-weight: 500;
}

.task-client {
  color: #9ca3af;
}

.task-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.priority-badge {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.task-hours {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
}

/* Contenedores principales */
.developers-container {
  max-height: 70vh;
  overflow-y: auto;
  padding: 10px;
}

.tasks-container {
  max-height: 70vh;
  overflow-y: auto;
  padding: 10px;
}

/* Estado vacío */
.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #9ca3af;
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 16px;
  margin-bottom: 8px;
  color: #6b7280;
}

.empty-state small {
  font-size: 12px;
  color: #9ca3af;
}

/* Botones de acción compactos */
.action-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}

.action-buttons .btn-asana {
  padding: 8px 16px;
  font-size: 13px;
}

/* Modal pequeña para confirmaciones */
.modal.modal-small {
    max-width: 400px !important;
    width: 90% !important;
}

.modal.modal-small .modal-content {
    padding: 20px !important;
}

.modal.modal-small .modal-footer {
    padding: 10px 20px !important;
}

/* Estructura colaborativa de asignación */
.assignment-workspace {
    margin-bottom: 0;
}

.developers-sidebar {
    height: calc(100vh - 200px);
    min-height: 500px;
}

.developers-sidebar-list {
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    padding-right: 5px;
}

.assignment-workspace-main {
    height: calc(100vh - 200px);
    min-height: 500px;
}

.workspace-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.selected-developer-info h5 {
    margin-bottom: 10px;
    color: #2196f3;
}

.developer-workload-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.workload-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.workload-badge.low { background: #c8e6c9; color: #2e7d32; }
.workload-badge.medium { background: #fff3e0; color: #f57c00; }
.workload-badge.high { background: #ffcdd2; color: #d32f2f; }

.hours-info {
    font-size: 14px;
    color: #666;
}

.workspace-content {
    height: calc(100vh - 350px);
    min-height: 300px;
}

.current-tasks-section,
.available-tasks-section {
    height: 100%;
}

.current-tasks-container,
.available-tasks-container {
    max-height: calc(100vh - 450px);
    min-height: 250px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
    background: #fafafa;
}

/* Desarrollador en sidebar */
.developer-sidebar-item {
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.developer-sidebar-item:hover {
    background: #f5f5f5;
    transform: translateX(2px);
}

.developer-sidebar-item.selected {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.developer-sidebar-item .name {
    font-weight: 500;
    margin-bottom: 4px;
}

.developer-sidebar-item .workload-mini {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 8px;
    display: inline-block;
}

.developer-sidebar-item .tasks-count {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Tareas en el workspace */
.task-workspace-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.task-workspace-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.task-workspace-item.assigned {
    border-left: 4px solid #4caf50;
}

.task-workspace-item.available {
    border-left: 4px solid #2196f3;
    cursor: pointer;
}

.task-workspace-item.available:hover {
    background: #f8f9fa;
    border-color: #1976d2;
}

.task-workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.task-workspace-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    flex: 1;
    margin-right: 10px;
}

.task-workspace-actions {
    display: flex;
    gap: 5px;
}

.task-workspace-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.task-priority-mini {
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.task-priority-mini.high { background: #ffebee; color: #c62828; }
.task-priority-mini.medium { background: #fff3e0; color: #ef6c00; }
.task-priority-mini.low { background: #e8f5e8; color: #2e7d32; }

/* Drag & Drop visual feedback */
.task-workspace-item.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
}

.developer-sidebar-item.drag-over {
    background: #e3f2fd !important;
    border-color: #2196f3 !important;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3) !important;
    transform: scale(1.02);
}

.task-workspace-item.available {
    cursor: grab;
}

.task-workspace-item.available:active {
    cursor: grabbing;
}

/* Responsive para estructura simplificada */
@media (max-width: 768px) {
  .summary-stats-inline {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .action-buttons .btn-asana {
    width: 100%;
    text-align: center;
  }
  
  .task-footer {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .assignment-panel .col.m7,
  .assignment-panel .col.m5 {
    margin-bottom: 20px;
  }
  
  .developers-container,
  .tasks-container {
    max-height: 300px;
  }
  
  .daily-summary-compact {
    text-align: center;
  }
  
  .summary-stats-inline {
    gap: 10px;
  }
  
  .modal.modal-small {
    width: 95% !important;
  }
}

.summary-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  display: block;
}

.stat-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

.table,
.table-wait {
  margin-top: 40px;
  display: none;
}

#total-hours {
  display: none;
}

.table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.reports-divider {
  display: none;
}

.reports #table-body tr {
  transition: all 0.1s;
}

.reports #table-body tr:hover {
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s;
}

.time-info {
  cursor: pointer;
}

.default label {
  position: initial;
}

#common-tasks .content a {
  text-transform: initial;
}

.clock-display #clock-numbers {
  font-size: 28px;
  font-family: "Share Tech Mono", monospace;
  margin-bottom: 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

span#horascargadas {
  font-weight: bold;
}

.hours-day #fechamensaje {
  font-size: 28px;
  font-family: "Share Tech Mono", monospace;
  margin-bottom: 0;
}

.clock-display {
  width: 50%;
}

.clock-display #clock-text {
  margin-top: 0;
}

.clock-display,
.clock-text {
  display: none;
}

.task-time {
  display: none;
}

.task-time .task-time-progress,
.task-time-ranking .task-time-progress {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

#task-time-exceeded {
  color: #f44336;
}

.modal {
  max-height: 85%;
  min-height: 50%;
}

.modal-dialog {
  max-height: initial;
  min-height: initial;
}

.chosen-container {
  width: 100% !important;
}

.cell-headings {
  padding: 10px 5px !important;
  font-weight: bold !important;
  border-bottom: 2px solid #444444 !important;
}

.client-cell {
  width: 100%;
  padding: 0 5px;
  background-color: transparent;
  transition: background-color 0.2s linear;
  border-bottom: 1px solid #cccccc;
}

.client-cell:hover {
  background-color: #eaeaea;
  transition: background-color 0.2s linear;
}

.client-cell div,
.cell-headings div {
  display: inline-block;
  width: 50%;
}

.client-cell .cell-column-1,
.cell-column-1 {
  width: 10%;
}

.client-cell .cell-column-2,
.cell-column-2 {
  width: 20%;
}

.client-cell .cell-column-3,
.cell-column-3 {
  width: 30%;
}

.client-cell .cell-column-4,
.cell-column-4 {
  width: 40%;
}

.client-cell .cell-column-5,
.cell-column-5 {
  width: 50%;
}

.client-cell .cell-column-6,
.cell-column-6 {
  width: 60%;
}

.client-cell .cell-column-7,
.cell-column-7 {
  width: 70%;
}

.client-cell .cell-column-8,
.cell-column-8 {
  width: 80%;
}

.client-cell .cell-column-9,
.cell-column-9 {
  width: 90%;
}

.client-cell .cell-column-10,
.cell-column-10 {
  width: 100%;
}

.client-cell a {
  color: inherit;
  line-height: 48px;
}

.client-cell .table-edit {
  line-height: 24px;
  width: auto;
  padding: 5px;
  border-radius: 50%;
  margin-top: -5px;
}

.table-edit .material-icons {
  line-height: 24px;
  font-size: 24px;
}

.card-content .row .dashboard-projects,
.card-content .row .dashboard-tasks {
  display: none;
  opacity: 0;
}

.dashboard-table h5 a {
  cursor: pointer;
  color: inherit;
}

.project-users-table {
  margin-top: 20px;
}

.client-cell .remove-user-from-task {
  border-radius: 50%;
  line-height: 24px;
  padding: 5px;
}

.timer-buttons-container {
  display: flex;
  width: 10%;
  flex-flow: column nowrap;
}

a#restart-timer {
  margin-bottom: 2px;
}

a#set-current-time {
  margin-top: 2px;
}

.timer-button {
  width: 50px;
  padding: 5px;
  height: 20px;
  font-size: 10px;
  line-height: 10px;
}

.name-suggest {
  position: absolute;
  width: 100%;
  background: white;
  z-index: 1;
  margin-top: -8px;
  border: 1px solid #f2f2f2;
  border-top: none;
  max-height: 114px;
  overflow-y: scroll;
}

.name-suggest ul {
  margin: 0;
}

.name-suggest ul li {
  padding: 8px 10px;
  transition: background 0.1s ease-out;
}

.name-suggest ul li:hover {
  background: #2bbbad;
  cursor: pointer;
  transitio: background 0.1s ease-in;
}

.dashboard-user-list li span {
  display: inline-block;
}

.dashboard-user-list li {
  padding: 5px 3px;
  border-bottom: 1px solid #cccccc;
}

.user-change-limitation,
.user-delete {
  cursor: pointer;
  padding: 0;
  text-align: center;
  border-radius: 50%;
}

.user-edit {
  color: rgba(0, 0, 0, 0.87);
}

.user-edit:hover {
  color: rgba(0, 0, 0, 0.87);
  border-bottom: 1px solid rgba(0, 0, 0, 0.87);
  cursor: pointer;
}

.roles-dashboard,
.departments-dashboard,
.usuarios-dashboard,
.proyecto-usuarios-dashboard {
  display: none;
}

.projects-summary,
.tasks-summary {
  display: none;
}

.table-clients,
.table-projects,
.table-tasks {
  display: none;
}

.client-clickable,
.project-clickable {
  transition: all 0.2s;
}

.client-clickable:hover,
.project-clickable:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s;
}

.client-clickable td::selection,
.project-clickable td::selection {
  background-color: transparent;
}

.arrow {
  font-size: 4rem;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
}

.arrow::selection {
  color: rgba(0, 0, 0, 0.87);
  background-color: transparent;
}

.arrow-left {
  left: 1.5rem;
}

.arrow-right {
  right: 1.5rem;
}

/* multiple chosen */
.chosen-container-multi ul.chosen-choices {
  border: 1px solid #f2f2f2;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0 0 0 8px;
  height: 3rem;
  white-space: nowrap;
  line-height: 2.8rem;
  font-size: 15px;
  background-image: none;
  overflow-y: auto;
}

.chosen-container-multi ul.chosen-choices,
.chosen-container-multi ul.chosen-choices li input {
  cursor: pointer;
}
.blocked-project {
  margin-left: 10px;
}
.tasks-title {
  display: flex;
  align-items: baseline;
}
.project-hours {
  margin-left: 50px;
  padding: 5px 10px;
  align-items: center;
  border-radius: 5px;
  position: relative;
  top: -10px;
  position: relative;
  text-align: center;
}
.project-hours.hours-left,
.project-hours.hours-worked {
  margin-left: 20px;
  background: #039be5;
  border: 1px solid #0000001f;
  box-shadow: 3px 2px 3px #0000002b;
  color: white;
}
.project-hours.hours-consumed {
  background-color: red;
}
.project-hours p {
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
}
.project-hours h6 {
  margin-bottom: 0;
  font-size: 1rem;
  margin-top: 0;
}
#filter-last-month, #filter-this-month{
  margin-right: 10px;
}