
#tgd-register-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#tgd-register-modal .tgd-modal-content {
    background: #ffffff;
    color: #000;
    padding: 2rem;
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
}

#tgd-register-modal .tgd-modal-content h2 {
    color: #2a00f9;
    margin-bottom: 1rem;
}

#tgd-register-modal .tgd-modal-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

#tgd-register-modal .tgd-modal-content a {
    display: inline-block;
    background-color: #2a00f9;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#tgd-register-modal .tgd-modal-content a:hover {
    background-color: #1e00c0;
}

#tgd-close-modal {
    position: absolute;
    top: 10px; right: 10px;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #aaa;
}


/* Tamaño base para escritorio */
#tgd-register-modal .tgd-modal-content h2 {
    font-size: 2.5rem;
    word-break: break-word;
    hyphens: auto;
}

/* Ajustes para tablets y móviles */
@media (max-width: 768px) {
    #tgd-register-modal .tgd-modal-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    #tgd-register-modal .tgd-modal-content h2 {
        font-size: 1.5rem;
    }
}


/* Ajustes para pantallas muy pequeñas (hasta 375px) */
@media (max-width: 375px) {
    #tgd-register-modal .tgd-modal-content h2 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    #tgd-register-modal .tgd-modal-content p {
        font-size: 0.9rem;
    }

    #tgd-register-modal .tgd-modal-content a {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}
