
/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

/* 🎨 Paleta base del sitio */

:root {
    --color-principal: #62c3ca;
    --color-secundario: #62c3ca;
    --color-fondo: #f5f3eb;
    --color-texto: #333333;
    --color-texto-suave: #666666;
    --color-enfasis: #f2a47f;
    --gm-primary: #00c4cc;
    --gm-secondary: #fab43a;
    --gm-primary-light: #4dd4da;
    --gm-primary-dark: #00a3aa;
    --gm-primary-subtle: rgba(0, 196, 204, 0.1);
    --gm-secondary-light: #ffc55a;
    --gm-secondary-dark: #f09a1a;
    --gm-secondary-subtle: rgba(250, 180, 58, 0.1);
    --gm-gray-50: #f9fafb;
    --gm-gray-100: #f3f4f6;
    --gm-gray-200: #e5e7eb;
    --gm-gray-300: #d1d5db;
    --gm-gray-400: #9ca3af;
    --gm-gray-500: #6b7280;
    --gm-gray-600: #4b5563;
    --gm-gray-700: #374151;
    --gm-gray-800: #1f2937;
    --gm-gray-900: #111827;
    --gm-success: #10b981;
    --gm-error: #ef4444;
    --gm-warning: #f59e0b;
    --gm-info: #3b82f6;
    --gm-spacing-xs: 4px;
    --gm-spacing-sm: 8px;
    --gm-spacing-md: 16px;
    --gm-spacing-lg: 24px;
    --gm-spacing-xl: 32px;
    --gm-spacing-2xl: 48px;
    --gm-radius-sm: 6px;
    --gm-radius-md: 8px;
    --gm-radius-lg: 12px;
    --gm-radius-xl: 16px;
    --gm-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --gm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --gm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gm-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gm-transition: all 0.2s ease;
    --gm-transition-slow: all 0.3s ease;
    --gm-font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Estilo general del cuerpo */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

/* Enlaces */
a {
    color: var(--color-principal);
    text-decoration: none;
}

a:hover {
    color: var(--color-secundario);
    text-decoration: underline;
}

/* Cabecera */
.site-header {
    background-color: var(--color-secundario);
    color: white;
    padding: 10px 0;
}

.site-header .main-navigation a {
    color: white;
    font-weight: 500;
}

.site-header .main-navigation a:hover {
    color: #e0f7fa;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-texto);
    font-weight: 600;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.2em;
}
h2 {
    font-size: 1.8em;
}
h3 {
    font-size: 1.5em;
}

/* Botones de énfasis */
.button,
.wp-block-button__link {
    background-color: var(--color-enfasis);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.button:hover,
.wp-block-button__link:hover {
    background-color: #e6936d;
    color: white;
}
/* Eliminar fondo blanco del contenido principal */
.page .inside-article {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}
/* Aumentar el ancho del contenido principal */
.inside-article,
.container.grid-container {
    max-width: 1170px !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#masthead {
  display: flex;
  min-height: 60px;
}


.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gm-spacing-sm);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: var(--gm-radius-md);
  cursor: pointer;
  transition: var(--gm-transition);
  font-family: var(--gm-font-family);
  min-width: 120px;
}

.gm-btn-primary {
  background: var(--gm-primary);
  color: white;
}

dialog button {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Inter", -apple-system, sans-serif;
  min-width: 100px;
  margin: 0 5px;
}
dialog button.gm-modal-btn-primary {
  background: #00c4cc;
  color: white;
  border: 2px solid #00c4cc;
}
dialog button.gm-modal-btn-primary:hover {
  background: #00a3aa;
  border-color: #00a3aa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 196, 204, 0.3);
}

dialog button.gm-modal-btn-secondary {
  background: white;
  color: #6b7280;
  border: 2px solid #d1d5db;
}



dialog::backdrop{
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 99999;
  animation: gmFadeIn 0.3s ease;
}
dialog {
    border:none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    width: 420px;
    animation: gmSlideUp 0.3s ease;
    position: relative;
    text-align: center;
    padding: 32px;
    margin:auto;
}

.lista-avatares {
  display: flex;
  padding: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 600px;

}
.icono-usuario-asignar {
  display: flex;
  flex-direction: column;
  align-content: center;
  padding: 10px;
  align-items: center;
  border-radius: 12px;
  background: rgba(0, 196, 204, 0.1);
  color: #00c4cc;
  font-weight: bold;
  margin: 10px;
  width: 150px;
  text-align: center;
  height: 150px;
}

.icono-usuario-asignar span {
  display: flex;
  width: 100%;
  height: 60px;
  justify-content: center;
  align-items: center;
}
.gm-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px 0;
  font-family: "Inter", -apple-system, sans-serif;
}
.gm-modal-message {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 28px 0;
  line-height: 1.6;
  font-family: "Inter", -apple-system, sans-serif;
}

.gm-modal-icon.confirm {
  background: rgba(0, 196, 204, 0.1);
  color: #00c4cc;
}
.gm-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}
.gm-modal-icon.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-size: 62px;
  font-weight: bolder;
}
.gm-modal-btn-danger {
  background: #ef4444 !important;
  color: white;
  border: 2px solid #ef4444;
}
.gm-modal-btn-success {
  background: #10b981 !important;
  color: white;
  border: 2px solid #10b981;
}
input.gm-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  font-size: 15px;
  border: 2px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-md);
  background: var(--gm-gray-50);
  transition: var(--gm-transition);
  font-family: var(--gm-font-family);
}
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.gm-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gm-gray-400);
  font-size: 20px;
  transition: var(--gm-transition);

}
.gm-modal-btn-warning{
  background: rgba(250, 180, 58, 0.1) !important;
   color: #f09a1a !important;
   border-color: #f09a1a;
}
.gm-modal-btn-warning:hover {
  background: rgba(250, 180, 58, 0.1) !important;
  border-color: #f09a1a;
  color: #f09a1a;
  transform: translateY(-1px);
}
div.gm-input-wrapper {
  position: relative;
}
.gm-card {
  background: white;
  border-radius: var(--gm-radius-lg);
  box-shadow: var(--gm-shadow-lg);
  padding: var(--gm-spacing-xl);
  margin:0 auto;
}

/* Tabla */
        .gm-table-wrapper {
            overflow-x: auto;
            border-radius: var(--gm-radius-md);
            border: 1px solid var(--gm-gray-200);
        }
        
        .gm-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }
        
        .gm-table thead {
            background: linear-gradient(135deg, var(--gm-primary-subtle) 0%, var(--gm-secondary-subtle) 100%);
        }
        
        .gm-table th {
            padding: 16px;
            text-align: left;
            font-weight: 600;
            color: var(--gm-gray-700);
            border-bottom: 2px solid var(--gm-gray-200);
            white-space: nowrap;
        }
        
        .gm-table td {
            padding: 16px;
            border-bottom: 1px solid var(--gm-gray-100);
            color: var(--gm-gray-700);
        }
        
        .gm-table tbody tr {
            transition: var(--gm-transition);
        }
        
        .gm-table tbody tr:hover {
            background: var(--gm-gray-50);
        }
        
        .gm-table tbody tr:last-child td {
            border-bottom: none;
        }
        
        /* Badge en tabla */
        .gm-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            font-size: 12px;
            font-weight: 600;
            border-radius: 20px;
            white-space: nowrap;
        }
        
        .gm-badge-success {
            background: rgba(16, 185, 129, 0.1);
            color: var(--gm-success);
        }
        
        .gm-badge-warning {
            background: rgba(245, 158, 11, 0.1);
            color: var(--gm-warning);
        }
        
        .gm-badge-error {
            background: rgba(239, 68, 68, 0.1);
            color: var(--gm-error);
        }
        
        .gm-badge-info {
            background: var(--gm-primary-subtle);
            color: var(--gm-primary-dark);
        }
        
        /* Acciones en tabla */
        .gm-table-actions {
            display: flex;
            gap: var(--gm-spacing-sm);
        }
        
        .gm-icon-btn {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            background: transparent;
            color: var(--gm-gray-500);
            border-radius: var(--gm-radius-sm);
            cursor: pointer;
            transition: var(--gm-transition);
        }
        
        .gm-icon-btn:hover {
            background: var(--gm-gray-100);
            color: var(--gm-primary);
        }
        
        /* Material Symbols */
        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
        }