/*==============================================================*/
/*  G.CURSOS — MODALES DE ACCESO                                */
/*  Archivo: gcursos_modales.css                                */
/*  Descripción: Ayuda, privacidad y términos                   */
/*                                                              */
/*  Copyright © 2026 Octavio López Garza                        */
/*  Autor: Octavio López Garza                                  */
/*  Versión: 1.0                                                */
/*  Creación: 12/08/2026                                        */
/*  Envío: 1                                                    */
/*  Proyecto: G.CURSOS                                          */
/*==============================================================*/

body.gc-modal-abierto
    {
        overflow: hidden;
    }

.gc-modal
    {
        position: fixed;
        z-index: 5000;
        inset: 0;

        display: none;
        align-items: center;
        justify-content: center;

        padding: 24px;
    }

.gc-modal.visible
    {
        display: flex;
    }

.gc-modal-fondo
    {
        position: absolute;
        inset: 0;

        background: rgba(3, 27, 52, 0.58);
    }

.gc-modal-contenido
    {
        position: relative;
        z-index: 1;

        width: min(760px, 96vw);
        max-height: 82vh;

        overflow: hidden;

        border: 1px solid #b9c8d6;
        border-radius: 12px;

        background: #ffffff;

        box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
    }

.gc-modal-cabecera
    {
        min-height: 48px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 16px;

        padding: 10px 14px;

        border-bottom: 1px solid #d8e0e7;

        background: linear-gradient(#ffffff, #f1f4f7);

        color: #082c55;

        font-size: 15px;
        font-weight: bold;
    }

.gc-modal-cerrar
    {
        width: 32px;
        height: 32px;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 0;
        border-radius: 50%;

        background: transparent;

        color: #5d6a77;

        font-size: 25px;
        line-height: 1;

        cursor: pointer;
    }

.gc-modal-cerrar:hover
    {
        background: #eef3f7;
        color: #0b67b2;
    }

.gc-modal-cuerpo
    {
        max-height: calc(82vh - 48px);

        overflow-y: auto;

        padding: 20px 22px;

        color: #33495f;

        font-size: 13px;
        line-height: 1.62;
    }

.gc-modal-cuerpo h3
    {
        margin: 18px 0 6px 0;

        color: #0b67b2;

        font-size: 13px;
    }

.gc-modal-cuerpo h3:first-child
    {
        margin-top: 0;
    }

.gc-modal-cuerpo p
    {
        margin: 0 0 12px 0;
    }

.gc-modal-cuerpo ul
    {
        margin: 6px 0 14px 20px;
        padding: 0;
    }

.gc-modal-nota
    {
        margin-top: 18px;
        padding: 10px 12px;

        border-left: 4px solid #0b67b2;

        background: #f3f9fd;

        color: #496177;
    }

.gc-enlace-modal
    {
        color: inherit;
        text-decoration: none;
        cursor: pointer;
    }

.gc-enlace-modal:hover
    {
        text-decoration: underline;
    }

.gc-ayuda.gc-enlace-modal
    {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
