/* Estilos para el Master Dashboard */
.dashboard-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  min-height: 100vh;
}

.main-header { 
  border-bottom: 2px solid #e2e8f0; 
  padding-bottom: 20px; 
  margin-bottom: 40px; 
  text-align: center;
}

.main-header h1 { color: #1e293b; font-size: 28px; margin: 0; font-weight: 800; }
.main-header p { color: #64748b; margin: 8px 0 0; font-size: 16px; }

.project-group { margin-bottom: 50px; }
.group-header { margin-bottom: 20px; display: flex; align-items: center; }

.badge { 
  font-size: 12px; 
  font-weight: 700; 
  padding: 5px 15px; 
  border-radius: 50px; 
  color: white; 
  letter-spacing: 0.5px;
}
.badge.doctos { background: #6366f1; box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3); }
.badge.pymes { background: #f59e0b; box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.card-icon { 
  width: 50px; 
  height: 50px; 
  background: #f1f5f9; 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 800; 
  margin-right: 20px; 
  color: #94a3b8;
  font-size: 18px;
}

.card-body h3 { margin: 0; color: #1e293b; font-size: 18px; font-weight: 700; }
.view-link { color: #3b82f6; font-size: 14px; font-weight: 600; margin-top: 4px; display: block; }

.dashboard-footer { 
  text-align: center; 
  margin-top: 60px; 
  padding: 30px;
  border-top: 1px solid #e2e8f0; 
}

.logout-link { 
  color: #ef4444; 
  text-decoration: none; 
  font-weight: 700; 
  font-size: 15px;
  padding: 10px 20px;
  border: 1.5px solid #ef4444;
  border-radius: 8px;
  transition: all 0.2s;
}

.logout-link:hover {
  background: #ef4444;
  color: white;
}
/* app/assets/stylesheets/custom.css */

/* Estilos generales */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa; /* Fondo claro */
    margin: 0;
    font-family: Arial, sans-serif;
  }
  
  /* Contenedor del formulario */
  .form-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border-top: 4px solid #d9534f; /* Rojo de Sidekiq */
  }
  
  /* Título del formulario */
  .form-container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #d9534f; /* Rojo de Sidekiq */
  }
  
  /* Campos del formulario */
  .form-container .field {
    margin-bottom: 15px;
  }
  
  .form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
  }
  
  .form-container input[type="text"],
  .form-container input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
  }
  
  .form-container input[type="text"]:focus,
  .form-container input[type="password"]:focus {
    border-color: #d9534f; /* Rojo de Sidekiq */
    outline: none;
  }
  
  /* Botón de envío */
  .form-container .actions {
    text-align: center;
  }
  
  .form-container .actions input[type="submit"] {
    background-color: #d9534f; /* Rojo de Sidekiq */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
  }
  
  .form-container .actions input[type="submit"]:hover {
    background-color: #c9302c; /* Tonalidad más oscura del rojo */
  }
  
  .card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
  }
  
  .card {
    background-color: white;
    border: 1px solid #d9534f;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .card a {
    text-decoration: none;
    color: #d9534f;
    font-weight: bold;
    font-size: 18px;
  }
  
  .card a:hover {
    color: #c9302c;
  }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
