/* =========================================================
   APPINITDEV - COMUNIDAD
   PROMOCIÓN DE SUGERENCIAS Y BETA TESTERS

   Diseño profesional y responsive
   ========================================================= */


/* =========================================================
   1. CONTENEDOR PRINCIPAL
   ========================================================= */

#aid-community-invite {
    max-width: 1100px;
    margin: 24px auto;
    padding: 25px;

    border: 1px solid #b7d6f3;
    border-radius: 20px;

    background: linear-gradient(
        135deg,
        #f6fbff 0%,
        #e9f4ff 100%
    );

    box-shadow:
        0 10px 26px rgba(30, 74, 122, 0.08);

    color: #122a4a;

    text-align: left;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.55;

    box-sizing: border-box;
}


/* =========================================================
   2. AJUSTES GENERALES
   ========================================================= */

#aid-community-invite *,
#aid-community-invite *::before,
#aid-community-invite *::after {
    box-sizing: border-box;
}


/* =========================================================
   3. TÍTULOS
   ========================================================= */

#aid-community-invite h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);

    line-height: 1.3;

    font-weight: 700;

    color: #122a4a;

    margin: 0 0 12px;
}


/* =========================================================
   4. PÁRRAFOS
   ========================================================= */

#aid-community-invite p {
    margin: 0 0 18px;

    color: #36516c;

    font-size: 1rem;

    line-height: 1.65;
}


/* =========================================================
   5. ETIQUETA SUPERIOR
   ========================================================= */

#aid-community-invite .aid-chip {
    display: inline-flex;

    align-items: center;

    padding: 6px 12px;

    margin-bottom: 12px;

    border-radius: 99px;

    background: #d7f9ef;

    color: #065c4d;

    font-size: 0.85rem;

    font-weight: 750;

    line-height: 1.4;
}


/* =========================================================
   6. CONTENEDOR DE BOTONES
   ========================================================= */

#aid-community-invite .aid-community-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: stretch;

    gap: 12px;

    margin-top: 20px;
}


/* =========================================================
   7. ESTILO GENERAL DE BOTONES
   ========================================================= */

#aid-community-invite .aid-community-actions a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex: 1 1 220px;

    gap: 8px;

    min-height: 48px;

    padding: 12px 20px;

    border-radius: 12px;

    text-decoration: none !important;

    text-align: center;

    font-size: 1rem;

    line-height: 1.4;

    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   8. BOTÓN PRINCIPAL
   ENVIAR UNA SUGERENCIA
   ========================================================= */

#aid-community-invite
.aid-community-actions a:first-child {

    background: #007a63 !important;

    color: #ffffff !important;

    border: 2px solid #007a63 !important;

    box-shadow:
        0 4px 12px rgba(0, 122, 99, 0.15);
}


/* =========================================================
   9. HOVER DEL BOTÓN SUGERENCIAS
   ========================================================= */

#aid-community-invite
.aid-community-actions a:first-child:hover {

    background: #005b49 !important;

    color: #ffffff !important;

    border-color: #005b49 !important;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(0, 91, 73, 0.22);
}


/* =========================================================
   10. BOTÓN SECUNDARIO
   PROGRAMA DE TESTERS
   ========================================================= */

#aid-community-invite
.aid-community-actions a:last-child {

    background: #ffffff !important;

    color: #007a63 !important;

    border: 2px solid #007a63 !important;

    box-shadow:
        0 3px 10px rgba(0, 122, 99, 0.06);
}


/* =========================================================
   11. HOVER DEL BOTÓN TESTERS
   ========================================================= */

#aid-community-invite
.aid-community-actions a:last-child:hover {

    background: #e6f7f1 !important;

    color: #005b49 !important;

    border-color: #005b49 !important;

    transform: translateY(-2px);

    box-shadow:
        0 6px 16px rgba(0, 122, 99, 0.12);
}


/* =========================================================
   12. ACCESIBILIDAD - NAVEGACIÓN POR TECLADO
   ========================================================= */

#aid-community-invite
.aid-community-actions a:focus-visible {

    outline: 3px solid #2563eb;

    outline-offset: 4px;
}


/* =========================================================
   13. EFECTO AL PRESIONAR
   ========================================================= */

#aid-community-invite
.aid-community-actions a:active {

    transform: translateY(0);

    box-shadow: none;
}


/* =========================================================
   14. NOTA INFORMATIVA INFERIOR
   ========================================================= */

#aid-community-invite small {
    display: block;

    margin-top: 18px;

    color: #526b85;

    font-size: 0.85rem;

    line-height: 1.65;
}


/* =========================================================
   15. TABLETS
   ========================================================= */

@media (max-width: 768px) {

    #aid-community-invite {
        margin: 22px 15px;

        padding: 22px;

        border-radius: 18px;
    }

    #aid-community-invite h2 {
        font-size: 1.55rem;
    }

    #aid-community-invite p {
        font-size: 0.98rem;
    }

    #aid-community-invite .aid-community-actions {
        gap: 12px;
    }
}


/* =========================================================
   16. TELÉFONOS MÓVILES
   ========================================================= */

@media (max-width: 540px) {

    #aid-community-invite {
        margin: 20px 12px;

        padding: 18px;

        border-radius: 18px;
    }

    #aid-community-invite h2 {
        font-size: 1.4rem;

        line-height: 1.35;
    }

    #aid-community-invite p {
        font-size: 0.95rem;

        line-height: 1.65;
    }

    #aid-community-invite .aid-chip {
        font-size: 0.78rem;

        padding: 5px 10px;
    }

    #aid-community-invite .aid-community-actions {
        display: flex;

        flex-direction: column;

        gap: 12px;
    }

    #aid-community-invite .aid-community-actions a {
        width: 100%;

        flex: 0 0 auto;

        min-height: 52px;

        padding: 13px 15px;

        font-size: 0.95rem;
    }

    #aid-community-invite small {
        font-size: 0.8rem;

        margin-top: 16px;
    }
}


/* =========================================================
   17. PANTALLAS MUY PEQUEÑAS
   ========================================================= */

@media (max-width: 360px) {

    #aid-community-invite {
        padding: 15px;

        margin: 15px 8px;
    }

    #aid-community-invite h2 {
        font-size: 1.25rem;
    }

    #aid-community-invite p {
        font-size: 0.9rem;
    }

    #aid-community-invite .aid-community-actions a {
        font-size: 0.88rem;

        padding: 12px;
    }
}


/* =========================================================
   18. RESPETAR PREFERENCIAS DE MOVIMIENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    #aid-community-invite
    .aid-community-actions a {

        transition: none !important;
    }

    #aid-community-invite
    .aid-community-actions a:hover {

        transform: none !important;
    }
}