/* Base styles */
:root {
  --primary-color: #4a6fa5;
  --primary-dark: #345384;
  --primary-light: #d4e0f0;
  --accent-color: #f39237;
  --text-color: #333;
  --text-secondary: #6c757d;
  --background-color: #f5f8fa;
  --white: #fff;
  --error: #dc3545;
  --success: #28a745;
  --warning: #ffc107;
  --info: #17a2b8;
  --border-color: #e1e4e8;
  
  /* Action colors */
  --do-now-color: #90ee90;
  --schedule-color: #add8e6;
  --delegate-color: #ffb347;
  --delete-color: #d8bfd8;
  
  /* Spacing */
  --spacing-xs: 2px;
  --spacing-sm: 6px;
  --spacing-md: 8px;
  --spacing-lg: 10px;
  --spacing-xl: 16px;
  
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  
  /* Box shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f8fa;
  background-color: var(--background-color);
  color: #333;
  color: var(--text-color);
  line-height: 1.6;
  padding-bottom: 16px;
  padding-bottom: var(--spacing-xl);
}

button {
  cursor: pointer;
}

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

a:hover {
  text-decoration: underline;
}

input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px;
  padding: var(--spacing-md);
}

/* Loading state */
.app-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #fff;
  background-color: var(--white);
}

.app-loading:after {
  content: '';
  width: 50px;
  height: 50px;
  border: 5px solid #d4e0f0;
  border: 5px solid var(--primary-light);
  border-radius: 50%;
  border-top-color: #4a6fa5;
  border-top-color: var(--primary-color);
  animation: spinner 1s linear infinite;
  margin-bottom: 8px;
  margin-bottom: var(--spacing-md);
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Error message */
.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* Normalización base que aplica a todos los ambientes */
:root {
  --base-font-size: 14px;
  --base-line-height: 1.5;
}

html, body {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
  font-size: 14px;
  font-size: var(--base-font-size);
  line-height: 1.5;
  line-height: var(--base-line-height);
  margin: 0;
  padding: 0;
}

/* Asegurar que todos los elementos respeten el box model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Responsividad básica */
@media (max-width: 768px) {
  :root {
    --base-font-size: 12px;
  }
}

/* Archivo: src/styles/viewport-normalizer.css */
:root {
    /* Variables para controlar específicamente el entorno de producción */
    --production-scale-factor: 0.85;
    --font-base-size: 14px;
  }
  
  /* Normalización de tamaño base y renderizado de texto */
  html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
         text-size-adjust: 100%;
    font-size: 14px;
    font-size: var(--font-base-size);
  }
  
  body {
    font-size: 14px;
    font-size: var(--font-base-size);
    line-height: 1.5;
  }
  
  /* Clases específicas para entorno de producción */
  .production-mode {
    /* Reducir un poco el escalado global en producción */
    transform: scale(0.85);
    transform: scale(var(--production-scale-factor));
    transform-origin: top left;
    width: calc(100% / 0.85);
    width: calc(100% / var(--production-scale-factor));
    height: calc(100% / 0.85);
    height: calc(100% / var(--production-scale-factor));
  }
  
  /* Media query para controlar responsive en diferentes dispositivos */
  @media (max-width: 768px) {
    :root {
      --production-scale-factor: 0.9;
      --font-base-size: 12px;
    }
  }


/**
 * Corrección específica para el problema de escalado en producción
 */

/* Estilos base para la corrección de escala */
:root {
    --scaling-factor: 0.85; /* Ajustar según sea necesario */
    --container-max-width: 1400px;
  }
  
  /* Clase aplicada automáticamente en entorno de producción */
  .production-scaling {
    /* Escalado global para toda la aplicación */
    transform: scale(0.85);
    transform: scale(var(--scaling-factor));
    transform-origin: top left;
    
    /* Ajustar el ancho para compensar el escalado */
    width: calc(100% / 0.85);
    width: calc(100% / var(--scaling-factor));
    min-height: 100vh;
  }
  
  /* Ajustes específicos para componentes */
  .production-scaling .container {
    max-width: 1400px;
    max-width: var(--container-max-width);
  }
  
  /* Asegurar que los gráficos y visualizaciones se escalen correctamente */
  .production-scaling .recharts-wrapper,
  .production-scaling .recharts-surface {
    transform-origin: top left;
  }
  
  /* Mejorar el rendimiento de transformación */
  .production-scaling * {
    backface-visibility: hidden;
  }
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background: linear-gradient(135deg, #4a6fa5 0%, #345384 100%);
  padding: 20px;
  border-radius: 20px;
}
  
  .login-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
  }
  
  .login-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
  }
  
  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  .logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
  }
  
  .matrix-logo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 4px;
    gap: 4px;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .matrix-quadrant {
    width: 100%;
    height: 100%;
  }
  
  .important.urgent {
    background-color: #90ee90; /* light green */
  }
  
  .important.not-urgent {
    background-color: #add8e6; /* light blue */
  }
  
  .not-important.urgent {
    background-color: #ffb347; /* light orange */
  }
  
  .not-important.not-urgent {
    background-color: #d8bfd8; /* light purple */
  }
  
  .login-card h1 {
    color: #345384;
    font-size: 28px;
    margin-bottom: 8px;
  }
  
  .subtitle {
    color: #6c757d;
    margin-bottom: 32px;
  }
  
  .login-action {
    margin-bottom: 24px;
  }
  
  .google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .google-login-btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .google-login-btn:active {
    transform: translateY(0);
  }
  
  .login-info {
    margin-top: 32px;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
  }
  
  .login-footer {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
  }
  
  @media (max-width: 576px) {
    .login-card {
      padding: 30px 20px;
    }
  }
/* Ruta del archivo: client/src/styles/Modal.css */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

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

.modal-container {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease-out;
  position: absolute;
  /* Initial centering will be handled by JavaScript */
}

.modal-container.dragging {
  cursor: grabbing;
  -webkit-user-select: none;
          user-select: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
  transition: none;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
  cursor: grab;
  background-color: #f8f9fa;
}

.modal-container.dragging .modal-header {
  cursor: grabbing;
}

.modal-title {
  margin: 0;
  font-size: 20px;
  color: #345384;
  font-weight: 600;
  -webkit-user-select: none;
          user-select: none; /* Prevents text selection during drag */
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #dc3545;
}

.modal-content {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 70px);
}

@media (max-width: 640px) {
  .modal-container {
    width: 95%;
  }
  
  .modal-content {
    padding: 16px;
  }
}
.task-form-container {
  width: 100%;
}

.task-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: #495057;
}

.form-group input,
.form-group select,
.form-group .date-picker {
  padding: 10px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.15s ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group .date-picker:focus {
  border-color: #4a6fa5;
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.25);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error .date-picker {
  border-color: #dc3545;
}

.form-group .error-message {
  color: #dc3545;
  font-size: 14px;
}

.required {
  color: #dc3545;
}

.form-row {
  display: flex;
  gap: 32px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-check label {
  cursor: pointer;
}

.action-display {
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

.action-display.do-now {
  background-color: #90ee90;
  color: #2e7d32;
}

.action-display.schedule {
  background-color: #add8e6;
  color: #0277bd;
}

.action-display.delegate {
  background-color: #ffb347;
  color: #e65100;
}

.action-display.delete {
  background-color: #d8bfd8;
  color: #6a1b9a;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.submit-btn {
  background-color: #4a6fa5;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-btn:hover {
  background-color: #345384;
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.cancel-btn {
  background-color: #e9ecef;
  color: #495057;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cancel-btn:hover {
  background-color: #dee2e6;
}

.date-picker {
  width: 100%;
}

@media (max-width: 576px) {
  .form-row {
    flex-direction: column;
    gap: 16px;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .submit-btn, .cancel-btn {
    width: 100%;
  }
}
//Ruta del archivo:client/src/styles/TaskDetails.css

.task-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.task-info {
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.task-info-header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9ecef;
}

.action-badge {
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 14px;
  text-transform: uppercase;
}

.action-badge.do-now {
  background-color: #90ee90;
  color: #2e7d32;
}

.action-badge.schedule {
  background-color: #add8e6;
  color: #0277bd;
}

.action-badge.delegate {
  background-color: #ffb347;
  color: #e65100;
}

.action-badge.delete {
  background-color: #d8bfd8;
  color: #6a1b9a;
}

.task-info-body {
  padding: 16px;
}

.task-info-row {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
}

.task-info-row:last-child {
  margin-bottom: 0;
}

.task-info-row .label {
  width: 100px;
  font-weight: 600;
  color: #495057;
}

.task-info-row .value {
  flex: 1 1;
}

/* Nuevos estilos para los iconos de verificación y X */
.status-icon-check {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
}

.status-icon-check.positive {
  color: #28a745;
}

.status-icon-x {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
}

.status-icon-x.negative {
  color: #dc3545;
}

.days-left-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 14px;
}

.days-left-badge.overdue {
  background-color: #ffcccb;
  color: #b71c1c;
}

.days-left-badge.soon {
  background-color: #ffffcc;
  color: #f57f17;
}

.days-left-badge.plenty {
  background-color: #ccffcc;
  color: #2e7d32;
}

.days-left-badge.completed {
  background-color: #e9ecef;
  color: #6c757d;
  font-weight: bold;
}

.task-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid #e9ecef;
}

.edit-btn {
  background-color: #4a6fa5;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.edit-btn:hover {
  background-color: #345384;
}

.delete-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.delete-btn:hover {
  background-color: #c82333;
}

.comments-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
}

.comments-section h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #345384;
}

.comment-form {
  margin-bottom: 20px;
}

/* Estilos específicos para el editor de texto enriquecido */
.quill-editor-container {
  margin-bottom: 12px;
}

.rich-text-editor {
  background-color: white;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Quill editor theme customization */
.ql-toolbar.ql-snow {
  border: 1px solid #ced4da;
  border-radius: 6px 6px 0 0;
  background-color: #f8f9fa;
}

.ql-container.ql-snow {
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 6px 6px;
  min-height: 120px;
  max-height: 300px;
}

.ql-editor {
  min-height: 120px;
  max-height: 300px;
  overflow-y: auto;
}

.ql-editor p {
  margin-bottom: 8px;
}

.comment-form button {
  background-color: #4a6fa5;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 10px;
}

.comment-form button:hover {
  background-color: #345384;
}

.comment-form button:disabled {
  background-color: #a0b4d0;
  cursor: not-allowed;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment {
  background-color: white;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 600;
  color: #345384;
}

.comment-date {
  font-size: 12px;
  color: #6c757d;
}

.comment-body {
  color: #212529;
  line-height: 1.5;
  word-break: break-word;
  margin-bottom: 12px;
}

/* Estilos específicos para el contenido del comentario renderizado */
.comment-body h1, .comment-body h2, .comment-body h3 {
  margin-bottom: 10px;
  color: #345384;
}

.comment-body p {
  margin-bottom: 8px;
}

.comment-body ul, .comment-body ol {
  padding-left: 20px;
  margin-bottom: 10px;
}

.comment-body li {
  margin-bottom: 5px;
}

.comment-body a {
  color: #4a6fa5;
  text-decoration: none;
}

.comment-body a:hover {
  text-decoration: underline;
}

.comment-body blockquote {
  border-left: 3px solid #4a6fa5;
  padding-left: 10px;
  margin-left: 0;
  color: #6c757d;
}

.comment-body pre {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  overflow-x: auto;
}

.comment-body img {
  max-width: 100%;
  height: auto;
}

/* Estilos para comentarios con clase ql-editor (texto enriquecido) */
.comment-body.ql-editor {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding: 0;
}

.comment-body.ql-editor h1 {
  font-size: 2em;
  margin-bottom: 0.67em;
  margin-top: 0.67em;
  color: #345384;
}

.comment-body.ql-editor h2 {
  font-size: 1.5em;
  margin-bottom: 0.83em;
  margin-top: 0.83em;
  color: #345384;
}

.comment-body.ql-editor h3 {
  font-size: 1.17em;
  margin-bottom: 1em;
  margin-top: 1em;
  color: #345384;
}

.comment-body.ql-editor p {
  margin-bottom: 1em;
}

.comment-body.ql-editor strong {
  font-weight: bold;
}

.comment-body.ql-editor em {
  font-style: italic;
}

.comment-body.ql-editor ul {
  padding-left: 30px;
  list-style-type: disc;
  margin-bottom: 1em;
}

.comment-body.ql-editor ol {
  padding-left: 30px;
  list-style-type: decimal;
  margin-bottom: 1em;
}

.comment-body.ql-editor li {
  margin-bottom: 0.5em;
}

.comment-body.ql-editor a {
  color: #4a6fa5;
  text-decoration: none;
}

.comment-body.ql-editor a:hover {
  text-decoration: underline;
}

.comment-body.ql-editor blockquote {
  border-left: 4px solid #4a6fa5;
  padding-left: 16px;
  margin-left: 0;
  color: #6c757d;
  font-style: italic;
}

.comment-body.ql-editor pre {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  overflow-x: auto;
  font-family: monospace;
}

.comment-body.ql-editor img {
  max-width: 100%;
  height: auto;
}

.comment-body.ql-editor strike {
  text-decoration: line-through;
}

.comment-body.ql-editor u {
  text-decoration: underline;
}

.no-comments {
  text-align: center;
  padding: 20px;
  color: #6c757d;
  font-style: italic;
}

.comments-loading {
  text-align: center;
  padding: 20px;
  color: #6c757d;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.attachment-tools {
  margin-bottom: 12px;
}

.attachment-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.attachment-btn {
  background-color: #f0f2f5;
  color: #4a6fa5;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.attachment-btn:hover {
  background-color: #e9ecef;
}

.selected-files, .selected-links {
  background-color: #f0f2f5;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}

.selected-files h4, .selected-links h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 14px;
  color: #495057;
}

.file-list, .link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.file-item, .link-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 14px;
}

.file-name, .link-title {
  flex: 1 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  color: #6c757d;
  font-size: 12px;
}

.remove-file, .remove-link {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.link-form-container {
  background-color: #f0f2f5;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
}

.link-form-container h4 {
  margin: 0 0 10px 0;
  color: #495057;
  font-size: 14px;
}

.link-form-group {
  margin-bottom: 10px;
}

.link-form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

.link-form-actions {
  display: flex;
  gap: 10px;
}

.add-link-btn, .cancel-link-btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-link-btn {
  background-color: #4a6fa5;
  color: white;
  border: none;
}

.add-link-btn:hover {
  background-color: #345384;
}

.cancel-link-btn {
  background-color: #e9ecef;
  color: #495057;
  border: 1px solid #ced4da;
}

.cancel-link-btn:hover {
  background-color: #dee2e6;
}

/* Nuevos estilos para links en comentarios */
.comment-links {
  background-color: #f0f2f5;
  border-radius: 6px;
  padding: 10px;
  margin-top: 12px;
}

.comment-links h4 {
  margin: 0 0 8px 0;
  color: #495057;
  font-size: 14px;
}

.comment-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.comment-link .link-icon {
  color: #4a6fa5;
  flex-shrink: 0;
}

.comment-link-text {
  color: #4a6fa5;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.comment-link-text:hover {
  text-decoration: underline;
}

.comment-attachments {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}

.comment-attachments h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 14px;
  color: #495057;
}

.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.attachment-item {
  width: calc(50% - 5px);
  background-color: #f0f2f5;
  border-radius: 4px;
  padding: 8px;
}

.image-attachment, .file-attachment, .link-attachment {
  display: flex;
  align-items: center;
  gap: 8px;
}

.image-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.image-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attachment-details {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.attachment-name {
  font-size: 14px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-size {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 4px;
}

.attachment-actions {
  display: flex;
  gap: 8px;
}

.view-attachment, .download-attachment {
  background: none;
  border: none;
  color: #4a6fa5;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.attachment-icon {
  color: #4a6fa5;
  margin-right: 4px;
}

.file-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
}

.pdf-icon {
  color: #f44336;
}

.word-icon {
  color: #2196f3;
}

.excel-icon {
  color: #4caf50;
}

.ppt-icon {
  color: #ff9800;
}

.general-file-icon {
  color: #9e9e9e;
}

@media (max-width: 576px) {
  .task-info-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .task-info-row .label {
    width: 100%;
    margin-bottom: 4px;
  }
  
  .task-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .edit-btn, .delete-btn {
    width: 100%;
  }
  
  .attachment-item {
    width: 100%;
  }
}

.task-title {
  background-color: #345384;
  color: white;
  border-radius: 8px 8px 0 0;
  padding: 20px 16px; /* Aumentado el padding vertical de 16px a 20px */
  margin-bottom: -24px;
}

.task-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5; /* Añadido para mejorar la altura de la línea */
}

.task-info {
  border-radius: 0 0 8px 8px;
}

.upload-progress {
  margin-top: 10px;
  margin-bottom: 10px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #4a6fa5;
  transition: width 0.3s ease;
}

.progress-text {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #6c757d;
}

/* Styles for editing comment buttons */
.edit-comment-btn {
  background: none;
  border: none;
  color: #4a6fa5;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.edit-comment-btn:hover {
  color: #345384;
  text-decoration: underline;
}

.save-edit-btn {
  background-color: #4a6fa5;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  margin-right: 8px;
  transition: background-color 0.2s ease;
}

.save-edit-btn:hover {
  background-color: #345384;
}

.cancel-edit-btn {
  background-color: #e9ecef;
  color: #495057;
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cancel-edit-btn:hover {
  background-color: #dee2e6;
}
.attachment-viewer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-height: 70vh;
  }
  
  .attachment-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 4px;
  }
  
  .file-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }
  
  .file-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  
  .file-type-icon {
    font-size: 40px;
    color: #4a6fa5;
  }
  
  .file-preview h3 {
    margin-bottom: 8px;
    color: #333;
    word-break: break-word;
    max-width: 100%;
  }
  
  .file-preview p {
    color: #6c757d;
    margin-bottom: 16px;
  }
  
  .download-btn, .open-link-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
  }
  
  .download-btn:hover, .open-link-btn:hover {
    background-color: #345384;
    text-decoration: none;
  }
  
  .link-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    max-width: 100%;
  }
  
  .link-preview h3 {
    margin-bottom: 8px;
    color: #333;
    word-break: break-word;
    max-width: 100%;
  }
  
  .link-preview p {
    color: #6c757d;
    margin-bottom: 16px;
    word-break: break-all;
    max-width: 100%;
  }
/* Ruta del archivo: client/src/styles/Dashboard.css */

.dashboard {
  padding: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard h1 {
  color: var(--primary-dark);
  margin-bottom: var(--spacing-lg);
  font-size: 28px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: var(--spacing-md);
  gap: var(--spacing-md);
  margin-bottom: 10px;
}

.stat-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 8px var(--spacing-md); /* Reducido de 16px a 8px */
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 60px; /* Reducido de 80px a 60px */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card h3 {
  margin: 0 0 2px 0; /* Reducido el margen inferior de 8px a 2px */
  color: var(--text-secondary);
  font-size: 14px; /* Reducido de 16px a 14px */
  font-weight: 500;
}

.stat-number {
  font-size: 24px; /* Reducido de 28px a 24px */
  font-weight: 700;
  margin: 0;
  line-height: 1.1; /* Ajustar la altura de línea para acercar los elementos */
}

.stat-card.today {
  border-top: 4px solid #4caf50;
}

.stat-card.overdue {
  border-top: 4px solid #f44336;
}

.stat-card.completed {
  border-top: 4px solid #2196f3;
}

.stat-card.total {
  border-top: 4px solid #ff9800;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.action-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-button.primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.action-button.primary:hover {
  background-color: var(--primary-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.action-button.secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.action-button.secondary:hover {
  background-color: var(--primary-light);
  text-decoration: none;
  transform: translateY(-2px);
}

.recent-tasks h2 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-md);
}

.task-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: var(--spacing-md);
  gap: var(--spacing-md);
}

.task-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.task-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.task-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
  font-size: 18px;
  font-weight: 600;
}

.task-details {
  margin-bottom: var(--spacing-md);
}

.task-details p {
  margin-bottom: var(--spacing-xs);
  font-size: 14px;
}

.task-details strong {
  color: var(--text-secondary);
}

.task-card.do-now {
  border-left: 5px solid var(--do-now-color);
}

.task-card.schedule {
  border-left: 5px solid var(--schedule-color);
}

.task-card.delegate {
  border-left: 5px solid var(--delegate-color);
}

.task-card.delete {
  border-left: 5px solid var(--delete-color);
}

.view-task-link {
  display: inline-block;
  margin-top: var(--spacing-sm);
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
}

.view-task-link:hover {
  text-decoration: underline;
}

.no-tasks {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.no-tasks p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  font-size: 18px;
}

@media (max-width: 768px) {
  .dashboard-actions {
      flex-direction: column;
  }
  
  .action-button {
      width: 100%;
  }
  
  .task-list {
      grid-template-columns: 1fr;
  }

  .stats-container {
      grid-template-columns: 1fr 1fr;
  }
}

/* Header de gráficos con botón de colapso */
.charts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 4px;
}

.charts-title {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.charts-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: var(--text-color);
}

.charts-toggle-btn:hover {
  background-color: #f8f9fa;
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.charts-toggle-text {
  font-weight: 500;
}

.charts-toggle-icon {
  transition: transform 0.3s ease;
  font-size: 12px;
  color: var(--text-secondary);
}

.charts-toggle-icon.expanded {
  transform: rotate(180deg);
}

.charts-toggle-icon.collapsed {
  transform: rotate(0deg);
}

/* Contenedor con animación de colapso */
.charts-container-wrapper {
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.charts-container-wrapper.visible {
  max-height: 300px; /* Ajustar según la altura de los gráficos */
  opacity: 1;
}

.charts-container-wrapper.hidden {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

/* Estilos para los gráficos */
.charts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  gap: 24px;
}

.chart-box {
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 220px; /* Altura fija para todos los gráficos */
}

.chart-box h3 {
  text-align: center;
  margin-bottom: 8px; /* Reducido más para dar más espacio al gráfico */
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0; /* Evita que el título se comprima */
}

.chart-content {
  flex: 1 1; /* Ocupa todo el espacio disponible después del título */
  position: relative;
  overflow: hidden; /* Evita que los elementos salgan del contenedor */
}

/* Estilos específicos para el gráfico pie */
.pie-chart-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pie-chart-container .recharts-wrapper {
  flex: 1 1;
  min-height: 0;
}

.pie-legend-container {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 25px; /* Altura mínima para la leyenda */
  max-height: 30px; /* Altura máxima para la leyenda */
}

/* Asegurar que el pie chart use todo el espacio disponible */
.eisenhower-matrix .chart-content {
  display: flex;
  flex-direction: column;
}

/* Estilos específicos para el gráfico de categorías */
.chart-box:first-child {
  grid-row: span 1;
  /* min-height: 350px; */ /* Comentado - ya no necesario */
}

.completion-progress {
  margin-bottom: 24px;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

.progress-bar {
  height: 20px;
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar .progress {
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.5s ease;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.eisenhower-matrix .recharts-pie-labels {
  font-size: 14px;
  font-weight: bold;
}

/* Custom Tooltip Styles */
.custom-tooltip {
  background-color: white;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 12px;
}

.custom-tooltip p {
  margin: 5px 0;
}

.tooltip-label {
  font-weight: bold;
  color: #345384;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 4px;
  margin-bottom: 8px !important;
}

.tooltip-done {
  color: #198754;
}

.tooltip-todo {
  color: #ffc107;
}

.tooltip-total {
  font-weight: bold;
  margin-top: 8px !important;
}

/* Responsividad para dispositivos móviles */
@media (max-width: 1200px) {
  .charts-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .chart-box:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .charts-container {
    grid-template-columns: 1fr;
  }
  
  .chart-box:first-child {
    grid-column: span 1;
  }
  
  .chart-box {
    height: 200px; /* Reducir altura en móvil */
  }
  
  .charts-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .charts-toggle-btn {
    width: 100%;
    justify-content: center;
  }
  
  .charts-container-wrapper.visible {
    max-height: 650px; /* Ajustar para móvil con gráficos apilados */
  }
}

/* Añadir al final del archivo client/src/styles/Dashboard.css */

.edit-task-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background-color: #4a6fa5;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.edit-task-btn:hover {
  background-color: #345384;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.edit-task-btn:active {
  transform: translateY(0);
}

/* Hacer que toda la tarjeta sea clickeable para ver detalles */
.task-card {
  cursor: pointer;
}
.pagination-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    background-color: white;
    border-radius: 0 0 8px 8px;
    padding: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .pagination-info {
    color: #6c757d;
    font-size: 14px;
  }
  
  .pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .items-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .items-per-page label {
    color: #495057;
    font-size: 14px;
  }
  
  .items-per-page select {
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: white;
    color: #495057;
    font-size: 14px;
  }
  
  .pagination-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .page-nav-btn,
  .page-number {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .page-nav-btn:hover:not(:disabled),
  .page-number:hover:not(.active) {
    background-color: #f8f9fa;
    border-color: #ced4da;
    color: #0d6efd;
  }
  
  .page-number.active {
    background-color: #4a6fa5;
    border-color: #4a6fa5;
    color: white;
    font-weight: 600;
  }
  
  .page-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .page-ellipsis {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
  }
  
  @media (max-width: 576px) {
    .pagination-controls {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .pagination-buttons {
      width: 100%;
      justify-content: center;
    }
    
    .items-per-page {
      width: 100%;
      justify-content: flex-end;
    }
  }
/* Ruta del archivo: client/src/styles/TaskList.css */

.task-list-page {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.page-header h1 {
  color: #345384;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  padding-bottom: 8px;
}

.page-header h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #4a6fa5;
}

.create-task-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #4a6fa5;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.create-task-btn:hover {
  background-color: #345384;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.plus-icon:before {
  content: "+";
  font-size: 20px;
  font-weight: bold;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background-color: white;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #345384;
}

.stat-card.today { border-top: 4px solid #4caf50; }
.stat-card.overdue { border-top: 4px solid #f44336; }
.stat-card.completed { border-top: 4px solid #2196f3; }
.stat-card.total { border-top: 4px solid #ff9800; }

/* Título y contenedor de Filtros */
.filters-section {
  margin-bottom: 20px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.filters-title {
  font-size: 16px;
  font-weight: 600;
  color: #345384;
  margin: 0;
}

/* Modificado: Contenedor de filtros para que se vean en un box */
.filters-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  position: relative;
  border: 1px solid #e9ecef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filters-content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Modificado: Filtros para que se vean redondeados, no cuadrados */
.filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  background-color: #e9ecef;
  color: #495057;
}

.filter-chip.delayed {
  background-color: #d1e7dd;
  color: #0f5132;
}

.filter-chip.work, 
.filter-chip.in-progress {
  background-color: #cfe2ff;
  color: #084298;
}

.filter-chip.not-started {
  background-color: #e2e3e5;
  color: #41464b;
}

.filter-chip .remove-filter {
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  color: #6c757d;
  margin-left: 4px;
}

.filter-chip .remove-filter:hover {
  color: #343a40;
}

.filter-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  align-items: center;
}

.filter-action-btn {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  background-color: transparent;
  transition: all 0.2s ease;
  border: 1px solid;
}

.clear-all-btn {
  color: #6c757d;
  border-color: #ced4da;
}

.clear-all-btn:hover {
  background-color: #f1f3f5;
  color: #495057;
}

.add-filter-btn {
  color: #4a6fa5;
  border-color: #4a6fa5;
}

.add-filter-btn:hover {
  background-color: #e7f0ff;
  color: #345384;
}

/* Contenedor de filtros del componente TaskFilters */
.task-filters-container {
  background-color: white;
  margin-bottom: 24px;
}

.active-filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px;
  position: relative;
}

.filter-chip.status {
  background-color: #d1e7dd;
  color: #0f5132;
}

.filter-chip.category {
  background-color: #cfe2ff;
  color: #084298;
}

.filter-chip.action {
  background-color: #fff3cd;
  color: #664d03;
}

.task-table-container {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  overflow-x: auto;
}

.task-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

.task-table th, .task-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
}

.task-table th.text-left, 
.task-table td.text-left {
  text-align: left;
}

.task-table th.text-center, 
.task-table td.text-center {
  text-align: center;
}

.task-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #495057;
  position: sticky;
  top: 0;
  z-index: 10;
}

.task-table tr {
  cursor: pointer;
  transition: background-color 0.2s ease;
  height: 48px;
}

.task-table tr:hover {
  background-color: #f8f9fa;
}

.task-table tr.do-now {
  border-left: 5px solid #90ee90;
}

.task-table tr.schedule {
  border-left: 5px solid #add8e6;
}

.task-table tr.delegate {
  border-left: 5px solid #ffb347;
}

.task-table tr.delete {
  border-left: 5px solid #d8bfd8;
}

/* Modificado: Estandarizar tamaño de los badges de acción */
.action-badge {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  text-transform: uppercase;
  display: inline-block;
  width: 90px; /* Tamaño fijo para todas las badges */
  text-align: center;
  white-space: nowrap;
}

.action-badge.do-now {
  background-color: #90ee90;
  color: #2e7d32;
}

.action-badge.schedule {
  background-color: #add8e6;
  color: #0277bd;
}

.action-badge.delegate {
  background-color: #ffb347;
  color: #e65100;
}

.action-badge.delete {
  background-color: #d8bfd8;
  color: #6a1b9a;
}

/* Modificado: Estandarizar tamaño de los badges de días restantes */
.days-left-badge {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  display: inline-block;
  width: 120px; /* Increased from 100px to 120px to accommodate longer text */
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  }
  .days-left-badge.overdue {
  background-color: #ffcccb;
  color: #b71c1c;
  }
  .days-left-badge.soon {
  background-color: #ffffcc;
  color: #f57f17;
  }
  .days-left-badge.plenty {
  background-color: #ccffcc;
  color: #2e7d32;
  }

/* Modificado: Mensaje con menor altura y margen */
.table-footer {
  background-color: #f8f9fa;
  padding: 6px 16px; /* Reducido de 12px a 6px */
  border-top: 1px solid #e9ecef;
}

.table-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px; /* Reducido de 16px a 8px */
  width: 100%;
}

.status-message {
  color: #495057;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  text-align: left;
  margin: 0; /* Asegurar que no tenga margen */
}

.pagination-container {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
  margin: 0; /* Asegurar que no tenga margen */
}

.pagination-info {
  color: #6c757d;
  font-size: 14px;
}

.pagination-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pagination-button {
  padding: 6px 12px;
  background-color: white;
  border: 1px solid #ced4da;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.pagination-button:hover:not(:disabled) {
  background-color: #e9ecef;
}

.pagination-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-current {
  padding: 6px 12px;
  background-color: #4a6fa5;
  color: white;
  border-radius: 4px;
}

.entries-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c757d;
  font-size: 14px;
}

.entries-selector select {
  padding: 4px 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

.no-tasks {
  text-align: center;
  padding: 40px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  color: #6c757d;
  font-size: 18px;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60vh;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(74, 111, 165, 0.2);
  border-radius: 50%;
  border-top-color: #4a6fa5;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

/* Estilos responsive */
@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .task-list-page {
    padding: 16px;
  }
  
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .page-header h1 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .filter-actions {
    margin-top: 8px;
  }
  
  .task-table {
    font-size: 13px;
  }
  
  .task-table th, .task-table td {
    padding: 8px 6px;
  }
  
  .action-badge, .days-left-badge {
    padding: 3px 6px;
    font-size: 11px;
  }
  
  .table-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pagination-container {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .task-table th, .task-table td {
    padding: 6px 4px;
    font-size: 12px;
  }
  
  .pagination-button, .pagination-current {
    padding: 4px 8px;
    font-size: 13px;
  }
  
  .filter-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  .action-badge {
    width: 70px;
    font-size: 11px;
  }

  .days-left-badge {
    width: 80px;
    font-size: 11px;
  }
}

/* Estilos para modal de filtros */
.filter-options-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

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

.filter-options-content {
  background-color: white;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 12px;
  padding: 20px;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(-20px); }
  to { transform: translateY(0); }
}

.filter-options-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filter-options-header h3 {
  margin: 0;
  color: #345384;
  font-size: 18px;
}

.close-filter-options {
  background: none;
  border: none;
  font-size: 24px;
  color: #6c757d;
  cursor: pointer;
}

.filter-section {
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
}

.filter-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: #f8f9fa;
  cursor: pointer;
}

.filter-section-header h4 {
  margin: 0;
  color: #495057;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-count {
  background-color: #e9ecef;
  color: #6c757d;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 12px;
}

.section-toggle {
  transition: transform 0.2s ease;
}

.section-toggle.collapsed {
  transform: rotate(-90deg);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap: 8px;
  gap: 8px;
  padding: 12px;
}

.filter-option {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
}

.filter-option:hover {
  background-color: #f8f9fa;
}

.filter-option.active {
  background-color: #4a6fa5;
  color: white;
  border-color: #4a6fa5;
}

.filter-options-actions {
  border-top: 1px solid #e9ecef;
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.apply-filters-btn {
  background-color: #4a6fa5;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.apply-filters-btn:hover {
  background-color: #345384;
  transform: translateY(-2px);
}
.category-management {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  
  .page-header h1 {
    color: #345384;
    margin: 0;
    font-size: 28px;
  }
  
  .create-category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .create-category-btn:hover {
    background-color: #345384;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .create-category-btn:active {
    transform: translateY(0);
  }
  
  .plus-icon:before {
    content: "+";
    font-size: 20px;
    font-weight: bold;
  }
  
  .category-list {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
  }
  
  .category-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .category-table th, .category-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
  }
  
  .category-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
  }
  
  .category-actions {
    display: flex;
    gap: 8px;
  }
  
  .edit-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .edit-btn:hover {
    background-color: #345384;
  }
  
  .delete-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .delete-btn:hover {
    background-color: #c82333;
  }
  
  .no-categories {
    padding: 40px;
    text-align: center;
    color: #6c757d;
    font-size: 16px;
  }
  
  .category-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .form-group label {
    font-weight: 500;
    color: #495057;
  }
  
  .form-group input {
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.15s ease-in-out;
  }
  
  .form-group input:focus {
    border-color: #4a6fa5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.25);
  }
  
  .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
  }
  
  .submit-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
  }
  
  .submit-btn:hover {
    background-color: #345384;
    transform: translateY(-2px);
  }
  
  .submit-btn:active {
    transform: translateY(0);
  }
  
  .cancel-btn {
    background-color: #e9ecef;
    color: #495057;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .cancel-btn:hover {
    background-color: #dee2e6;
  }
  
  .delete-confirmation {
    text-align: center;
    padding: 10px;
  }
  
  .delete-confirmation p {
    margin-bottom: 16px;
  }
  
  .delete-confirmation .warning {
    color: #dc3545;
    font-weight: 500;
    margin-bottom: 24px;
  }
  
  .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
  }
  
  .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 111, 165, 0.2);
    border-radius: 50%;
    border-top-color: #4a6fa5;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  .error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
  }
  
  @media (max-width: 768px) {
    .page-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
  
    .create-category-btn {
      width: 100%;
    }
  
    .category-actions {
      flex-direction: column;
      gap: 8px;
    }
  
    .edit-btn, .delete-btn {
      width: 100%;
    }
  
    .form-actions {
      flex-direction: column;
    }
  
    .submit-btn, .cancel-btn {
      width: 100%;
    }
  }
.status-management {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  
  .page-header h1 {
    color: #345384;
    margin: 0;
    font-size: 28px;
  }
  
  .create-status-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .create-status-btn:hover {
    background-color: #345384;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .create-status-btn:active {
    transform: translateY(0);
  }
  
  .plus-icon:before {
    content: "+";
    font-size: 20px;
    font-weight: bold;
  }
  
  .info-message {
    background-color: #e1f5fe;
    color: #0277bd;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
  }
  
  .status-list {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
  }
  
  .status-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .status-table th, .status-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
  }
  
  .status-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
  }
  
  .status-actions {
    display: flex;
    gap: 8px;
  }
  
  .edit-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .edit-btn:hover {
    background-color: #345384;
  }
  
  .delete-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .delete-btn:hover {
    background-color: #c82333;
  }
  
  .no-statuses {
    padding: 40px;
    text-align: center;
    color: #6c757d;
    font-size: 16px;
  }
  
  .status-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .form-group label {
    font-weight: 500;
    color: #495057;
  }
  
  .form-group input {
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.15s ease-in-out;
  }
  
  .form-group input:focus {
    border-color: #4a6fa5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.25);
  }
  
  .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
  }
  
  .submit-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
  }
  
  .submit-btn:hover {
    background-color: #345384;
    transform: translateY(-2px);
  }
  
  .submit-btn:active {
    transform: translateY(0);
  }
  
  .cancel-btn {
    background-color: #e9ecef;
    color: #495057;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .cancel-btn:hover {
    background-color: #dee2e6;
  }
  
  .delete-confirmation {
    text-align: center;
    padding: 10px;
  }
  
  .delete-confirmation p {
    margin-bottom: 16px;
  }
  
  .delete-confirmation .warning {
    color: #dc3545;
    font-weight: 500;
    margin-bottom: 24px;
  }
  
  .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
  }
  
  .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 111, 165, 0.2);
    border-radius: 50%;
    border-top-color: #4a6fa5;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  .error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
  }
  
  @media (max-width: 768px) {
    .page-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
  
    .create-status-btn {
      width: 100%;
    }
  
    .status-actions {
      flex-direction: column;
      gap: 8px;
    }
  
    .edit-btn, .delete-btn {
      width: 100%;
    }
  
    .form-actions {
      flex-direction: column;
    }
  
    .submit-btn, .cancel-btn {
      width: 100%;
    }
  }
/* Ruta del archivo: client/src/styles/CalendarView.css */

.calendar {
  width: 100%;
}

.calendar-header-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 500;
  color: #6c757d;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.calendar-day-name {
  padding: 8px;
}

/* Modificar el grid del calendario para que tenga un tamaño fijo */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 1px;
  gap: 1px;
  background-color: #e9ecef;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

/* Aumentar el tamaño de cada celda de día y hacerlo fijo */
.calendar-day {
  background-color: white;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #e9ecef;
  min-height: 120px; /* Altura mínima fija para cada día */
  height: 100%;
}

.day-number {
  font-weight: 500;
  padding: 4px 8px;
  text-align: right;
  color: #495057;
  font-size: 0.8rem;
  position: absolute;
  top: 2px;
  right: 2px;
}

/* Ajustar el área de tareas */
.day-tasks {
  flex-grow: 1;
  padding: 25px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

/* Estilo para el indicador de "más tareas" */
.more-tasks-indicator {
  font-size: 0.7rem;
  padding: 2px 4px;
  background-color: #f8f9fa;
  border-radius: 4px;
  text-align: center;
  margin-top: 2px;
  cursor: pointer;
  color: #4a6fa5;
  font-weight: 500;
}

.more-tasks-indicator:hover {
  background-color: #e9ecef;
}

.calendar-task {
  background-color: #f1f3f5;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 0.6rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.2s;
}

.calendar-task:hover {
  background-color: #e9ecef;
}

.calendar-task.task-do-now {
  background-color: #90ee90;
  color: #2e7d32;
}

.calendar-task.task-schedule {
  background-color: #add8e6;
  color: #0277bd;
}

.calendar-task.task-delegate {
  background-color: #ffb347;
  color: #e65100;
}

.calendar-task.task-delete {
  background-color: #d8bfd8;
  color: #6a1b9a;
}

.task-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block;
  font-size: 0.7rem;
}

.task-tooltip {
  position: fixed;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  max-width: 250px;
  word-wrap: break-word;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.calendar-day.other-month {
  background-color: #f5f5f5;
  color: #adb5bd;
}

.calendar-day.today {
  border: 2px solid #4a6fa5;
}

/* Estilos mejorados para el modal de todas las tareas */
.day-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  padding: 8px 4px;
}

.day-task-item {
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  border-left: 4px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: relative;
}

.day-task-item::after {
  content: '✎';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 16px;
}

.day-task-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.day-task-item:hover::after {
  opacity: 0.7;
}

.day-task-item:active {
  transform: translateY(0);
}

.day-task-title {
  font-weight: 600;
  margin-bottom: 6px;
  padding-right: 24px; /* Espacio para el ícono de edición */
}

.day-task-category {
  font-size: 0.85rem;
  color: #6c757d;
  display: inline-block;
  padding: 2px 8px;
  background-color: #f8f9fa;
  border-radius: 12px;
  margin-top: 4px;
}

.day-task-item.task-do-now {
  border-left-color: #90ee90;
  background-color: rgba(144, 238, 144, 0.1);
}

.day-task-item.task-schedule {
  border-left-color: #add8e6;
  background-color: rgba(173, 216, 230, 0.1);
}

.day-task-item.task-delegate {
  border-left-color: #ffb347;
  background-color: rgba(255, 179, 71, 0.1);
}

.day-task-item.task-delete {
  border-left-color: #d8bfd8;
  background-color: rgba(216, 191, 216, 0.1);
}

.no-tasks-message {
  text-align: center;
  padding: 30px 20px;
  color: #6c757d;
  font-style: italic;
  background-color: #f8f9fa;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .calendar-grid {
    grid-template-columns: 1fr;
  }
  
  .calendar-header-row {
    display: none;
  }
  
  .calendar-day {
    min-height: 80px;
  }
}

/* Estilos para el badge de estado */
.day-task-status {
  font-size: 0.75rem;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  margin-right: 8px;
  font-weight: 500;
}

.day-task-status.completed {
  background-color: #d1e7dd;
  color: #0f5132;
}

.day-task-status.in-progress {
  background-color: #cfe2ff;
  color: #084298;
}

.day-task-status.not-started {
  background-color: #e2e3e5;
  color: #41464b;
}

.day-task-status.delayed {
  background-color: #f8d7da;
  color: #842029;
}

/* Reorganizar la información de la tarea */
.day-task-info {
  display: flex;
  align-items: center;
  margin-top: 4px;
  flex-wrap: wrap;
  gap: 4px;
}
.deadline-heatmap {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 16px;
    margin-bottom: 20px;
  }
  
  .deadline-heatmap h3 {
    color: #345384;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
  }
  
  .heatmap-container {
    margin-top: 20px;
  }
  
  .heatmap-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
  }
  
  .heatmap-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
  }
  
  .color-box {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 2px;
  }
/* Ruta del archivo: client/src/styles/Calendar.css */

.calendar-page {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.calendar-header {
  margin-bottom: 24px;
}

.calendar-header h1 {
  color: #345384;
  margin-bottom: 16px;
  font-size: 28px;
}

.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-navigation {
  display: flex;
  gap: 8px;
}

.nav-btn, .today-btn {
  background-color: #f1f3f5;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-btn:hover, .today-btn:hover {
  background-color: #e9ecef;
}

.today-btn {
  background-color: #4a6fa5;
  color: white;
  border-color: #4a6fa5;
}

.today-btn:hover {
  background-color: #345384;
}

.calendar-view-selector {
  display: flex;
  border: 1px solid #ced4da;
  border-radius: 4px;
  overflow: hidden;
}

.view-btn {
  background-color: #f1f3f5;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 500;
}

.view-btn.active {
  background-color: #4a6fa5;
  color: white;
}

/* Modificación para alinear el título del mes a la derecha */
.calendar-title {
  font-size: 20px;
  font-weight: 600;
  color: #345384;
  text-align: right;
  margin-top: 5px;
  margin-bottom: 8px;
  width: 100%;
}

/* Contenedor para el título del mes que lo alinea con el calendario */
.calendar-header-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Nuevo layout con sidebar */
.calendar-layout {
  display: flex;
  gap: 24px;
}

.calendar-main {
  flex: 1 1;
}

.calendar-sidebar {
  width: 340px;
  flex-shrink: 0;
}

.calendar-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 6px;
  margin-bottom: 24px;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60vh;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(74, 111, 165, 0.2);
  border-radius: 50%;
  border-top-color: #4a6fa5;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .calendar-layout {
    flex-direction: column;
  }
  
  .calendar-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .calendar-controls {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .calendar-navigation, .calendar-view-selector {
    width: 100%;
    justify-content: space-between;
  }
}
.user-management {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  
  .page-header h1 {
    color: #345384;
    margin: 0;
    font-size: 28px;
  }
  
  .user-list {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
  }
  
  .user-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .user-table th, .user-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
  }
  
  .user-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
  }
  
  .user-photo {
    width: 60px;
  }
  
  .user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
  }
  
  .user-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #4a6fa5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
  }
  
  .user-actions {
    display: flex;
    gap: 8px;
  }
  
  .edit-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .edit-btn:hover {
    background-color: #345384;
  }
  
  .status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: bold;
  }
  
  .status-active {
    background-color: #d1e7dd;
    color: #0f5132;
  }
  
  .status-inactive {
    background-color: #f8d7da;
    color: #842029;
  }
  
  .no-users {
    padding: 40px;
    text-align: center;
    color: #6c757d;
    font-size: 16px;
  }
  
  .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
  }
  
  .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 111, 165, 0.2);
    border-radius: 50%;
    border-top-color: #4a6fa5;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  .error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
  }
  
  .error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    text-align: center;
    padding: 0 20px;
  }
  
  .error-container h1 {
    color: #dc3545;
    margin-bottom: 16px;
  }
  
  .error-container p {
    margin-bottom: 8px;
    max-width: 600px;
  }
  
  /* User Edit Modal Styles */
  .user-edit-container {
    padding: 16px;
  }
  
  .user-profile {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
  }
  
  .user-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 16px;
    object-fit: cover;
    border: 2px solid #e9ecef;
  }
  
  .user-profile-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 16px;
    background-color: #4a6fa5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
  }
  
  .user-profile-info h3 {
    margin: 0 0 8px 0;
    color: #345384;
  }
  
  .user-profile-info p {
    margin: 0;
    color: #6c757d;
  }
  
  .user-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .form-group label {
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .user-id {
    color: #6c757d;
    font-family: monospace;
    font-weight: normal;
  }
  
  .toggle-switch {
    display: flex;
    align-items: center;
  }
  
  .toggle-switch input[type="checkbox"] {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
  }
  
  .toggle-label {
    cursor: pointer;
    width: 50px;
    height: 24px;
    background: #f8d7da;
    display: block;
    border-radius: 24px;
    position: relative;
    transition: background-color 0.3s;
  }
  
  .toggle-label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
  }
  
  input:checked + .toggle-label {
    background: #d1e7dd;
  }
  
  input:checked + .toggle-label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
  }
  
  .toggle-text {
    margin-left: 12px;
    font-weight: 500;
  }
  
  .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
  }
  
  .submit-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
  }
  
  .submit-btn:hover {
    background-color: #345384;
    transform: translateY(-2px);
  }
  
  .submit-btn:active {
    transform: translateY(0);
  }
  
  .cancel-btn {
    background-color: #e9ecef;
    color: #495057;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .cancel-btn:hover {
    background-color: #dee2e6;
  }
  
  @media (max-width: 768px) {
    .user-table {
      display: block;
      overflow-x: auto;
    }
    
    .form-actions {
      flex-direction: column;
    }
    
    .submit-btn, .cancel-btn {
      width: 100%;
    }
  }
/* Ruta del archivo: src/styles/Navbar.css */

.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #345384;
  text-decoration: none;
}

.matrix-logo-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 2px;
  gap: 2px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
}

.matrix-quadrant.important.urgent {
  background-color: #90ee90; /* light green */
}

.matrix-quadrant.important.not-urgent {
  background-color: #add8e6; /* light blue */
}

.matrix-quadrant.not-important.urgent {
  background-color: #ffb347; /* light orange */
}

.matrix-quadrant.not-important.not-urgent {
  background-color: #d8bfd8; /* light purple */
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: #345384;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #345384;
  transition: transform 0.3s ease;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  margin-left: 20px;
}

.navbar-nav {
  display: flex;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #495057;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.nav-item:hover {
  background-color: rgba(74, 111, 165, 0.1);
  color: #345384;
}

.nav-item.active {
  background-color: rgba(74, 111, 165, 0.15);
  color: #345384;
  font-weight: 600;
}

.nav-icon {
  margin-right: 8px;
  font-size: 18px;
}

/* Added navbar-right container for date and user profile */
.navbar-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Current date styles - Updated to make it more prominent */
.current-date {
  background-color: #345384; /* Primary color background */
  color: white; /* White text for contrast */
  padding: 8px 16px; /* Increased padding */
  border-radius: 8px; /* Rounded corners */
  margin-right: 16px;
  font-size: 15px; /* Slightly larger font */
  font-weight: 600; /* Bolder text */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  display: flex;
  align-items: center;
  transition: all 0.2s ease; /* Smooth transition for hover effect */
}

.current-date:before {
  content: "\1F4C5"; /* Calendar icon */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  margin-right: 8px; /* Space between icon and date */
  font-size: 16px;
}

.current-date:hover {
  background-color: #4a6fa5; /* Lighter shade on hover */
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.navbar-user {
  position: relative;
}

.user-menu {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 24px;
  transition: background-color 0.2s ease;
}

.user-menu:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 12px;
  border: 2px solid rgba(74, 111, 165, 0.3);
}

.user-name {
  font-weight: 500;
  margin-right: 8px;
  color: #343a40;
}

.dropdown-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #6c757d;
  margin-left: 6px;
}

/* User dropdown */
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e9ecef;
}

.dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
}

.dropdown-user-info {
  flex-grow: 1;
}

.dropdown-name {
  font-weight: 600;
  color: #343a40;
  margin: 0;
}

.dropdown-email {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
}

.dropdown-items {
  padding: 8px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  color: #495057;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* NUEVO: Estilos para idiomas colapsables */
.language-selector-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 8px;
}

.language-selector-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  color: #495057;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.language-selector-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.language-options-menu {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 4px;
  background-color: #f8f9fa;
  border-radius: 6px;
  overflow: hidden;
}

.language-option {
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 14px;
  color: #495057;
}

.language-option:hover {
  background-color: #e9ecef;
}

.language-option.active {
  background-color: #4a6fa5;
  color: white;
  font-weight: 600;
}

.logout-btn {
  color: #dc3545;
  margin-top: 4px;
}

.logout-icon {
  margin-right: 8px;
}

/* Administration dropdown styles */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown .nav-item {
  cursor: pointer;
}

.dropdown-caret {
  margin-left: 6px;
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s ease;
}

.dropdown-caret.open {
  transform: rotate(180deg);
}

.admin-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease-in-out;
  z-index: 1000;
}

.admin-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.admin-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  color: #495057;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.admin-dropdown-item:hover {
  background-color: rgba(74, 111, 165, 0.1);
  color: #345384;
}

.admin-dropdown-item.active {
  background-color: rgba(74, 111, 165, 0.15);
  color: #345384;
  font-weight: 600;
}

.language-icon:before {
  content: "\1F30E"; /* Unicode para globo terraqueo */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  margin-right: 8px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  
  .navbar-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    height: auto;
    margin-left: 0;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
    padding: 16px;
  }
  
  .navbar-right {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    margin-top: 16px;
  }
  
  .current-date {
    margin-bottom: 16px;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .navbar-user {
    width: 100%;
    border-top: 1px solid #e9ecef;
    padding-top: 16px;
  }
  
  .user-menu {
    width: 100%;
    justify-content: space-between;
  }
  
  .user-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 16px;
    display: none;
  }
  
  .user-dropdown.active {
    display: block;
  }
  
  /* Mobile admin dropdown */
  .admin-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 0;
    padding-left: 24px;
    background-color: transparent;
    display: none;
  }
  
  .admin-dropdown-menu.show {
    display: block;
  }
  
  .admin-dropdown-item {
    padding: 12px 16px;
  }

  /* Ajustes para móvil del menú de idiomas */
  .language-options-menu {
    width: 100%;
    margin-left: 24px;
  }
}

/* Calendar icon that was already present */
.calendar-icon:before {
  content: "\1F4C5"; /* Unicode for calendar icon */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Add new icons for each menu item */
.dashboard-icon:before {
  content: "\1F4CA"; /* Unicode for chart/dashboard icon */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.tasks-icon:before {
  content: "\2611"; /* Unicode for task/checkbox icon */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.categories-icon:before {
  content: "\1F4C1"; /* Unicode for folder/category icon */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.statuses-icon:before {
  content: "\1F4CB"; /* Unicode for clipboard/status icon */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.users-icon:before {
  content: "\1F465"; /* Unicode for users/group icon */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.administration-icon:before {
  content: "\1F6E0"; /* Unicode for gear/administration icon */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.logout-icon:before {
  content: "\1F6AA"; /* Unicode for door/exit icon */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
/* Ruta del archivo: client/src/styles/SessionTimeoutModal.css */

.session-timeout-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 20px;
  }
  
  .timeout-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8d7da;
    border-radius: 50%;
    margin-bottom: 16px;
  }
  
  .clock-icon:before {
    content: "\23F0"; /* Unicode para el emoji de reloj */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 30px;
    color: #dc3545;
  }
  
  .session-timeout-content h3 {
    color: #dc3545;
    margin-bottom: 8px;
    font-size: 20px;
  }
  
  .session-timeout-content p {
    margin-bottom: 16px;
    font-size: 16px;
    color: #495057;
  }
  
  .countdown-timer {
    font-size: 32px;
    font-weight: bold;
    margin: 16px 0;
    padding: 10px 24px;
    background-color: #f1f3f5;
    border-radius: 8px;
    color: #dc3545;
  }
  
  .timeout-message {
    margin-bottom: 24px;
    font-size: 14px;
    color: #6c757d;
  }
  
  .timeout-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
  }
  
  .renew-session-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .renew-session-btn:hover {
    background-color: #345384;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .logout-btn {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .logout-btn:hover {
    background-color: #dee2e6;
    transform: translateY(-2px);
  }
  
  @media (max-width: 576px) {
    .timeout-actions {
      flex-direction: column;
      gap: 8px;
    }
    
    .renew-session-btn, .logout-btn {
      width: 100%;
    }
  }
/* Ruta del archivo: client/src/styles/NotificationSystem.css */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
}

.notification-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slide-in 0.3s ease-out forwards;
  opacity: 0;
  transform: translateX(40px);
}

@keyframes slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notification-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  font-weight: bold;
}

.notification-icon.success {
  background-color: #d1e7dd;
  color: #0f5132;
}

.notification-icon.error {
  background-color: #f8d7da;
  color: #842029;
}

.notification-icon.warning {
  background-color: #fff3cd;
  color: #664d03;
}

.notification-icon.info {
  background-color: #cfe2ff;
  color: #084298;
}

.notification-content {
  flex-grow: 1;
  margin-right: 12px;
  font-size: 14px;
  color: #333;
}

.notification-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #6c757d;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.notification-close:hover {
  opacity: 1;
}

/* Estilos según el tipo de notificación */
.notification-item.success {
  border-left: 4px solid #0f5132;
}

.notification-item.error {
  border-left: 4px solid #842029;
}

.notification-item.warning {
  border-left: 4px solid #664d03;
}

.notification-item.info {
  border-left: 4px solid #084298;
}

/*# sourceMappingURL=main.9bbd10b2.css.map*/