Diferencia entre revisiones de «MediaWiki:Common.css»

De WCAG Wiki
Sin resumen de edición
Sin resumen de edición
Etiqueta: Reversión manual
 
(No se muestra una edición intermedia del mismo usuario)
(Sin diferencias)

Revisión actual - 11:24 6 nov 2025

#bodyContent {
	font-family: Verdana, Geneva, sans-serif !important; 
	font-size: 1.4em; 
	font-style: normal; 
	font-variant: normal; 
	/*font-weight: 700; */
	/*line-height: 1.5em; */
} 
#bodyContent h1 {
    	color: #1e3a8a;
    	font-weight: 900;
    	font-size: 2em !important; 
    	line-height: 1.1;
    	margin-top:2em;
    	padding-bottom:0.2em;
    }

#bodyContent h2 {
		font-family: Verdana, Geneva, sans-serif !important; 
    	color: #1e3a8a;
    	font-weight: 900;
    	font-size: 1.8em !important; 
    	line-height: 1.1;
    	margin-top:2em;
    	padding-bottom:0.2em;
    }
    
#bodyContent h3 {
		font-family: Verdana, Geneva, sans-serif !important; 
		font-weight: 900;
    	color: #1e3a8a;
		font-size: 1.6em !important; 
		line-height: 1.1;
    	border-bottom: solid 2px #c8ccd1;
    	margin-top:2em;
    	padding-bottom:0.2em;
 }
 
#bodyContent h4 {
 		font-family: Verdana, Geneva, sans-serif !important; 
	   	color: #1e3a8a;
    	font-weight: 900;
    	font-size: 1.4em !important; 
    	line-height: 1.1;
    	margin-top:2.5em;
    	padding-bottom:0.2em;
    }

#bodyContent h5 {
 		font-family: Verdana, Geneva, sans-serif !important; 
	   	color: #1e3a8a;
    	font-weight: 600;
    	font-size: 1.2em !important; 
    	line-height: 1.1;
    	margin-top:2.5em;
    	padding-bottom:0.2em;
    }
	
#bodyContent a { 
	text-decoration: underline !important; 
}



/* CODIGO DEL EJEMPLO NO ERROR */
.fondo-rojo {
	border: 1px solid #ccc;
    background-color: #fdecea;
	padding: 16px;

}
.fondo-verde {
	background-color: #e8f5e9;
    border: 1px solid #ccc;
    padding: 16px;
}

.borde-evidencias {
      border: 2px solid grey;
      padding: 15px;
      margin: 10px 0;
      border-radius: 8px;
      font-family: sans-serif;
      box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.accessibility-card {
    border: 1px solid #ccc;
    background-color: #e8f5e9;
    padding: 16px;
    /*width: 500px;*/
    font-family: sans-serif;
    position: relative;
    margin-bottom: 20px;
    
  }
  
  .accessibility-card::before {
    content: "";
    display: block;
    height: 5px;
    background-color: #2e7d32;
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;

  }
  
  .accessibility-card h3 {
    color: #2e7d32;
    margin-top: 12px;
    margin-bottom: 8px;
  }
  
  .accessibility-card p {
    margin: 0 0 12px;
  }
  
  .accessibility-card img {
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 12px;
  }
  
  /* CODIGO DEL EJEMPLO ERROR */
  .accessibility-card-error {
    border: 1px solid #ccc;
    background-color: #fdecea;
    padding: 16px;
    /*width: 500px;*/
    font-family: sans-serif;
    position: relative;
    margin-bottom: 20px;
  }
  
  .accessibility-card-error::before {
    content: "";
    display: block;
    height: 5px;
    background-color: #c62828;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  
  .accessibility-card-error h3 {
    color: #c62828;
    margin-top: 12px;
    margin-bottom: 8px;
  }
  
  .accessibility-card-error p {
    margin: 0 0 12px;
  }
  
  .accessibility-card-error img {
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 12px;
  }


/* codigo creado CSS afra pruebas */

.custom-post-item {
    padding: 40px;
    background-color: #ffffff;
    border-radius: .5rem;
    border: 0 solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px 0 var(--tw-shadow-color);
    flex-direction: row;
    flex-direction: column;
}

.acordeon-estilizado {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  background-color: #f9f9f9;
  margin-bottom: 10px;
}

.acordeon-estilizado summary {
  cursor: pointer;
  font-weight: bold;
  background-color: #e6e6e6;
  padding: 5px;
  border-radius: 5px;
}

.acordeon-estilizado[open] summary {
  background-color: #d0d0d0;
}
/* Oculta el enlace 'deshacer' en el historial solo para usuarios del grupo alumnos */

.group-alumnos .mw-history-undo {
    display: none !important;
}
/* para el botón del bookmarklet */

    .highlight-box {
      border: 2px solid black;
      background-color: #eeeee4; /* marroncito suave */
      padding: 15px;
      margin: 10px 0;
      border-radius: 8px;
      font-family: sans-serif;
      box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    .bookmarklet-button {
      display: inline-block;
      padding: 10px 16px;
      background-color: #0078D7;
      color: white;
      font-weight: bold;
      text-decoration: none;
      border-radius: 6px;
      border: 2px solid #005A9E;
      cursor: grab;
    }

    .bookmarklet-button:hover {
      background-color: #005A9E;
      color: white;
    }
    
   /* para ocultar elementos  visualmente */
    .visually-hidden {
	  position: absolute !important;
	  height: 1px; 
	  width: 1px;
	  overflow: hidden;
	  clip: rect(1px, 1px, 1px, 1px);
	  white-space: nowrap;
	}
	
	
	/* para las clases de la ficha general del criterio */
	
	 .wcag-card {
	  max-width: 100%;
      background: #f5f7fa;
      border: 1px solid  #e5e7eb;
      /*border-radius: 1rem; */
      
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      padding: 0.5rem;

      display: flex;
      flex-direction: column;
    }
    /*
    .wcag-level {
      font-weight: 600;
      background-color:  #16a34a;
      color: white;
      padding: 0.5rem 0.8rem;
      border-radius: 0.5rem;
      font-size: 0.9rem;
    }

    .wcag-name {
      font-size: 1.5rem;
      margin-top: 0.5rem;
      margin-bottom: 1rem;
      color:  #2563eb;
      border: 1px solid red;
    }*/

    /* Lista principal de propiedades */
    
    .wcag-info ul {
	  display: flex;
	  flex-wrap: wrap;
	  gap: 1rem; 
	  margin: 0;
	  padding: 0 0 0 0.5em;
	  
	  list-style-type: none;
	 
	}

	.wcag-info li {
	  background: #f9fafb;
	  border: 1px solid #e5e7eb;
	  padding: 0.3rem 1rem;
	  flex: 1 1 200px;
	  box-sizing: border-box;
	}
	
	.wcag-info .label {
	  display: block;
	  font-family: Verdana, Geneva, sans-serif !important; 
	  font-weight: 600;
	  color: #374151;
	  font-size: 1.1em;
	  margin-bottom: 0.3rem;
 	 
	}
	
	.wcag-info .value {
	  display: block;
	  margin: 0;
	  font-size: 1.1em;
	  color: #111827;
	}


    /* Usuarios afectados */
      .wcag-users {
      background-color: #eef2ff;
      border-left: 4px solid  #2563eb;
      /*border-radius: 0.5rem; */
      gap: 1rem; 
	  margin: 1em 0 0 0.5em;
	  padding: 0.5em;
    }

    .wcag-users p {
      font-size: 1.4rem;
      font-weight: 600;
      color: #1e3a8a;
      margin-top: 0;
      margin-bottom: 0.5rem;
    }

    .wcag-users ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .wcag-users li {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 0.4rem;
      line-height: 1.4;
    }

    .wcag-users img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      vertical-align: middle;
      flex-shrink: 0;
    }
    
    /* descripcion criterio directo de pautas wcag */
    .wcag-infocriterio {
	  background-color: #FFF9DB; /*#FFF4CD; muy amarillo */ 
      border-left: 4px solid #FFBC2E;
      /*border-radius: 0.5rem; */
      gap: 1rem; 
	  margin: 1em 0 0 0.5em;
	  padding: 0.5em;
    	
    }
    
    .wcag-infocriterio p {
      font-size: 1.4rem;
      font-weight: 600;
      color: #1e3a8a;
      margin-top: 0;
      margin-bottom: 0.5rem;
    }
    
    
    .gravedad {
      display: inline-block;
	  padding: 0.1em;
	  font-weight: 400;
	  line-height: 1;
	  /*color: #fff;*/ /* Por defecto, asumiendo un color de texto claro */
	  /*color:black;*/
	  text-align: center;
	  white-space: nowrap;
	  vertical-align: baseline;
	  /*background-color: #DDE2E9;*/
	  border-radius: .25rem; /* O un valor mayor para más redondez */
	}

    
  	/* === Tonos pastel cálidos para niveles de barrera === */

	/* Grave – rojo pastel accesible */
	.gravedad-grave {
	  background-color: #fde8e8;   /* rojo pastel claro */
	  color: #a32020;              /* rojo oscuro para contraste */
	  border: 1px solid #f5b5b5;   /* borde ligeramente más fuerte */
	  padding: 0.05em 0.06em;
	  border-radius: 0.3em;
	}
	
	/* Moderada – naranja/ámbar tostado pastel */
	.gravedad-moderada {
	  background-color: #fff2e0;   /* naranja muy claro */
	  color: #b85c00;              /* naranja tostado oscuro */
	  border: 1px solid #ffd1a3;
	  padding: 0.05em 0.06em;
	  border-radius: 0.3em;
	}
	
	/* Leve – amarillo cálido pastel */
	.gravedad-leve {
	  background-color: #fff9db;   /* amarillo claro pastel */
	  color: #7a6000;              /* mostaza oscura para legibilidad */
	  border: 1px solid #FFE478;/* #ffec99;*/
	  padding: 0.05em 0.06em;
	  border-radius: 0.3em;
	}
    
      /*  texto que describe el criterio  */
    .wcag-info-criterio {
      background-color: #F5F7FA; /*amarillo: #F9F8C8;*/
      border-left: 4px solid #000000;  /*amarillo:#FDD84E;*/
      /*border-radius: 0.5rem;*/
      padding: 0.5em;
      padding-bottom: 0.8em;
      margin: 0.1rem;
      display: block;
    }
    
    .wcag-codigo-html {
      border: 2px solid black;
      color: white;
	  /*font-family: 'Menlo','Consolas','Monaco','Noto Mono','Nimbus Mono L',monospace; */ /*"Times New Roman", Times, serif;*/
      font-family: "Times New Roman", Times, serif !important;
	  font-size: 1.3em;
      background-color: black; /*#eeeee4;*/ /* marroncito suave */
      padding: 1.5em;
      margin: 1.5em 1em;
      /*border-radius: 8px; */
      box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }
	    
	/* Solo afecta a las listas <ol> con clase paso-list */
	ol.paso-list {
	  list-style: none !important;
	  margin: 0 !important;
	  padding: 0.1em 0em !important;
	}
	
	.paso-list li {
	  padding: 0.5em 0em !important;
	}
    
    .paso-badge {
	  display: inline-block;
	  padding: .15em .45em;
	  font-weight: 700;
	  line-height: 1;
	  /*color: #fff;*/ /* Por defecto, asumiendo un color de texto claro */
	  color:black;
	  text-align: center;
	  white-space: nowrap;
	  vertical-align: baseline;
	  background-color: #DDE2E9;
	  border-radius: .25rem; /* O un valor mayor para más redondez */
	}
	
	
	/* Texto solo visible para lectores de pantalla */
	.sr-only {
	  position: absolute !important;
	  width: 1px; 
	  height: 1px; 
	  padding: 0; 
	  margin: -1px; 
	  overflow: hidden; 
	  clip: rect(0, 0, 0, 0); 
	  white-space: nowrap; 
	  border: 0;
	}
	
	/* Permite mostrar el texto en pantalla al enfocar (por ejemplo con tabulación) */
	.sr-only:focus,
	.sr-only:active {
	  position: static !important;
	  width: auto;
	  height: auto;
	  margin: 0;
	  overflow: visible;
	  clip: auto;
	  white-space: normal;
	}


/* ============================================================
   ESTILOS DE LAS FICHAS DE CATEGORÍA WCAG
   ============================================================ */

/* --- Contenedor general --- */
.wcag-categoria {
  background-color: #fafafa;
  border: 1px solid #ddd;
  padding: 1em;
  margin: 1.5em 0;
  font-size: 1em;
  line-height: 1.6;
}

/* --- Encabezado: icono + título alineados --- */
.categoria-header {
  display: flex;
  align-items: baseline;        /* alinea visualmente texto e imagen */
  gap: 1em;
  background-color: #EAEBF1;
  border-left: 5px solid #000;
  padding: 0.8em 1em;
  text-align: left;
}

/* --- Icono a la izquierda, centrado visualmente con el texto --- */
.categoria-header img.icon-discapacidad {
  width: 70px;
  height: auto;
  display: block;
  margin-top: 0.2em;            /* pequeño ajuste para centrar visualmente */
  border: none;
  background: transparent;
  flex-shrink: 0;
}

/* --- Título junto al icono --- */
.categoria-titulo {
  flex: 1;
  display: flex;
  align-items: center;          /* centra verticalmente respecto al icono */
}

.categoria-titulo h2 {
  font-size: 1.6em;
  color: #000;
  margin: 0;
  line-height: 1.2;
}

/* --- Línea divisoria debajo del encabezado --- */
.categoria-divider {
  border-bottom: 2px solid #000;
  margin: 0.8em 0;
}

/* --- Descripción debajo de la línea --- */
.categoria-descripcion {
  font-size: 1em;
  color: #000;
  margin: 0;
  padding-left: 0.3em;
}

/* --- Bloques de contenido --- */
.categoria-impacto,
.categoria-criterios {
  margin-top: 1em;
}

.categoria-impacto h3,
.categoria-criterios h3 {
  color: #3b82f6;
  font-size: 1.15em;
  margin-bottom: 0.4em;
}

.categoria-impacto p {
  margin-top: 0.2em;
  color: #333;
}

.categoria-criterios ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5em 0;
}

.categoria-criterios li {
  margin: 0.3em 0;
}

/* --- Responsive: icono arriba y texto centrado --- */
@media (max-width: 700px) {
  .categoria-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .categoria-header img.icon-discapacidad {
    width: 70px;
    margin-bottom: 0.5em;
    margin-top: 0;
  }

  .categoria-titulo {
    align-items: center;
  }

  .categoria-titulo h2 {
    font-size: 1.3em;
  }

  .categoria-divider {
    width: 100%;
  }

  .categoria-descripcion {
    text-align: center;
  }
}

/* ============================================================
   ESTILOS DEL FORMULARIO DE ACTIVIDAD WCAG
   ============================================================ */

.wcag-form {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #202122;
  line-height: 1.6;
  max-width: 980px;
  margin: 1em auto;
  background-color: #f8f9fa;
  border: 1px solid #c8ccd1;
  border-radius: 0.3em;
  padding: 1.5em 2em;
}

/* --- Encabezados de sección --- */
.wcag-section {
  margin-top: 2em;
  padding: 1em;
  border-left: 6px solid #a2a9b1;
  background-color: #f0f2f5;
  border-radius: 0.2em;
}

.wcag-section h2 {
  font-size: 1.3em;
  margin-top: 0;
  color: #3366bb; /* Azul neutro MediaWiki */
  border-bottom: 1px solid #c8ccd1;
  padding-bottom: 0.2em;
}

/* --- Campos e instrucciones --- */
.wcag-field {
  margin: 0.8em 0;
}

.wcag-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3em;
}

.pf-instruccion {
  background-color: #f8f9fa;
  border: 1px solid #c8ccd1;
  border-radius: 0.2em;
  padding: 0.8em;
  margin-bottom: 1em;
}

.pf-nota {
  font-size: 0.9em;
  color: black;
  margin: 0.2em 0 1em 1em;
  background: #f8f9fa;
  border-radius: 0.2em;
  padding: 0.4em 0.6em;

}

/* --- Textareas grandes y cómodas --- */
textarea {
  width: 100%;
  font-family: monospace;
  font-size: 0.95em;
  border: 1px solid #c8ccd1;
  border-radius: 0.2em;
  padding: 0.5em;
  box-sizing: border-box;
  background-color: #fff;
}

input[type="text"],
select {
  width: 100%;
  border: 1px solid #c8ccd1;
  border-radius: 0.2em;
  padding: 0.4em;
  box-sizing: border-box;
}

/* --- Bloques visuales --- */
.wcag-subblock {
  background-color: #f8f9fa;
  border: 1px dashed #c8ccd1;
  border-radius: 0.3em;
  padding: 0.8em 1em;
  margin: 0.8em 0;
}

small, .nota {
  color: #72777d;
  font-size: 0.85em;
}

/* --- Títulos secundarios (dentro de bloques) --- */
.wcag-section h3 {
  margin-top: 1em;
  font-size: 1.1em;
  color: #444;
}

/* --- Informacion de campos autoevaluacion  --- */

/* ============================================================
   ESTILO: AUTOEVALUACIÓN WCAG
   ============================================================ */

.pf-instruccion {
  background-color: #f8f9fa;
  border: 1px solid #c8ccd1;
  border-left: 5px solid #a2a9b1;
  border-radius: 0.3em;
  padding: 0.8em;
  margin-bottom: 1.2em;
}

.eval-row {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  background-color: #fff;
  border: 1px solid #eaecf0;
  border-radius: 0.3em;
  padding: 0.8em 1em;
  margin-bottom: 0.8em;
}




/* ============================================================
   WCAG FORM - TABS
   ============================================================ */

.wcag-tabs {
  margin: 1em 0;
  border: 1px solid #c8ccd1;
  border-radius: 0.4em;
  background-color: #f8f9fa;
  padding: 0.5em;
}

/* Ocultar inputs de tipo radio */
.wcag-tabs input[type="radio"] {
  display: none;
}

/* Etiquetas de las pestañas */
.wcag-tabs label {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 0.1em;
  background-color: #eaecf0;
  border: 1px solid #c8ccd1;
  border-radius: 0.3em 0.3em 0 0;
  cursor: pointer;
  font-weight: 600;
  color: #202122;
}

/* Contenido oculto por defecto */
.wcag-tabs .tab-content {
  display: none;
  border-top: 1px solid #c8ccd1;
  background-color: #fff;
  padding: 1em;
  border-radius: 0 0.3em 0.3em 0.3em;
  margin-top: -1px;
}

/* Estado activo de la pestaña */
.wcag-tabs input[type="radio"]:checked + label {
  background-color: #fff;
  border-bottom: 1px solid #fff;
  color: #3366bb;
  z-index: 2;
}

/* Mostrar el contenido activo */
#tab-img:checked ~ #content-img,
#tab-code:checked ~ #content-code,
#tab-url:checked ~ #content-url {
  display: block;
}

/* ============================================================
   WCAG FORM - SECCIONES COLAPSABLES
   ============================================================ */

/* Contenedor general para separar visualmente este bloque */
.accessibility-collapsible-group {
  margin: 1em 0;
  border: 1px solid #c8ccd1;
  border-radius: 0.4em;
  /*background: #f8f9fa; */
  padding: 0.8em;
}

.mw-collapsible h4 {
  /*background-color: #eaecf0;*/
  color: black !important; 
  border-bottom: 1px solid #c8ccd1;
  padding: 0.5em;
  margin-top: 0.8em;
}

/* Estilo personalizado para botones de plegado */
.mw-collapsible-toggle {
 /* border: 1px solid red;	*/
  background:  white !important;     /* azul accesible   #007acc;*/
  color: #fff !important;
  padding: 0.4em 0.8em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-family: system-ui, sans-serif;
  cursor: pointer;
  display: inline-block;
}

/* Al pasar el ratón o enfocar con teclado */
.mw-collapsible-toggle:hover,
.mw-collapsible-toggle:focus {
	border: 1px solid blue;	
  background: #005fa3;
  outline: 2px solid #fff;
  outline-offset: 1px;
}

/*
.mw-collapsible button {
  border: 1px solid red;
  background-color: white;
  color: black !important; 
  border-bottom: 1px solid #c8ccd1;*/
  /*padding: 0.5em;
  margin-top: 0.8em;*/
/*}*/

   /* Informacion id del formulario */
   /*
      .form-info {
      background-color: #eef2ff;
      border-left: 4px solid  #2563eb;
      gap: 1rem; 
	  margin: 1em 0 0 0.5em;
	  padding: 0.5em;
    }
    */
    /* Informacion ejemplo no accesible del formulario */
    /*.form-accessibility-card-error {
    border: 1px solid #ccc;
    border-left: 4px solid  #C42727;
    background-color: #fdecea;
    padding: 16px;
    font-family: sans-serif;
    position: relative;
    margin-bottom: 20px;
  } */
    
    /* Informacion ejemplo  accesible del formulario */
    /*.form-accessibility-card {
    border: 1px solid #ccc;
    border-left: 4px solid  #2E7E33;
    background-color: #E7F5E8;
    padding: 16px;
    font-family: sans-serif;
    position: relative;
    margin-bottom: 20px;
  } */
/*
    .form-info p {
      font-size: 1.4rem;
      font-weight: 600;
      color: #1e3a8a;
      margin-top: 0;
      margin-bottom: 0.5rem;
    }

    .form-info ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .form-info li {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 0.4rem;
      line-height: 1.4;
    }

    .form-info img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      vertical-align: middle;
      flex-shrink: 0;
    }
*/
/* boton de subir ficheros*/
.msupload-container {
  border: 1px dashed #ccc;
  background: #fafafa;
  padding: 0.8em;
  border-radius: 6px;
  margin-top: 0.5em;
  margin-bottom: 0.8em;
}

.msupload-container button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.4em 0.8em;
  cursor: pointer;
  font-size: 0.9em;
}

.msupload-container button:hover {
  background-color: #0056b3;
}

.pf-instruccion {
  font-size: 0.9em;
  color: #333;
  background: #eef5ff;
  padding: 0.5em 0.8em;
  border-left: 3px solid #007bff;
  margin-bottom: 1em;
  border-radius: 4px;
}

/* ==========================================================
   🌈 Estilo accesible y coherente para la extensión Comments
   ========================================================== */

/* Bloque principal de comentarios */
.comments-body {
  font-size: 1rem;              /* Tamaño base accesible (16px) */
  line-height: 1.5;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.2em;
  margin-top: 1.5em;
}

/* Cada comentario individual */
.comment-container {
  border-bottom: 1px solid #ccc;
  margin-bottom: 1em;
  padding-bottom: 1em;
}
.comment-container:last-child {
  border-bottom: none;
}

/* Cabecera del comentario (nombre + fecha) */
.comment-username {
  font-weight: 600;
  color: #004080;
}
.comment-timestamp {
  color: #666;
  font-size: 0.9em;
}

/* Texto del comentario */
.comment-text {
  margin-top: 0.5em;
    font-size: 1.4em;
}

/* Bloque para añadir nuevo comentario */
.comment-add {
  margin-top: 1.5em;
  padding-top: 1em;
  border-top: 2px solid #ddd;
}

/* Área de texto (textarea) */
textarea#comment {
  width: 100%;
  min-height: 120px;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.6em;
  border: 1px solid #bbb;
  border-radius: 6px;
  resize: vertical;
  background-color: #fff;
  color: #222;
}

/* Asegurar ancho completo cuando esté en un contenedor limitado */
.full,
textarea#comment.full {
  width: 100%;
}

/* Botón de enviar comentario */
input.comment-submit,
input#wpCommentSubmit {
  background-color: #007acc;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.6em 1.2em;
  font-size: 0.95em;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
input.comment-submit:hover,
input#wpCommentSubmit:hover {
  background-color: #005a99;
}


/* mensaje de "version aprobada" */
/* Mensaje destacado para versiones aprobadas */
.approvedAndLatestMsg,
.notLatestMsg {
display: block;              /* Garantiza que ocupen su propia línea */
  margin: 1.5em 0;             /* Espaciado vertical arriba y abajo */
  background-color: #e6f4ea;       /* Verde claro accesible */
  color: #0d652d;                  /* Verde oscuro */
  border: 2px solid #34a853;       /* Borde verde */
  border-radius: 8px;
  padding: 1em 1.2em;
  margin: 3em 0 1.5em 0;
  font-weight: 600;
  font-size: 0.95em;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
	
/* azul */	
/*
  background-color: #e8f4fd;    
  color: #084c7f;               
  border-left: 6px solid #1a73e8;
  padding: 1em 1em;
  margin: 1.5em 0;
  font-size: 0.95em;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);*/
}

.approvedAndLatestMsg a,
.notLatestMsg a {
  color: #0b63c7;
  font-weight: 600;
  text-decoration: underline;
}

.approvedAndLatestMsg::before,
.notLatestMsg::before {
  content: "✅ ";
  font-size: 1.1em;
}


/* 🔒 Ocultar edición para alumnos */
body.user-group-alumnos #ca-edit,
body.user-group-alumnos #ca-ve-edit,
body.user-group-alumnos #ca-viewsource,
body.user-group-alumnos #ca-history,
body.user-group-alumnos .mw-editsection {
  display: none !important;
}