/* Basic minimal styling */

body>header>div.gff__container.gff__container--fluid>div>div.gff__header__left>div>a:nth-child(2) {
    opacity: 0;
    pointer-events: none;
    width: 0px;
}

body>header>div.gff__container.gff__container--fluid>div>div.gff__header__right>div.gff__header__search {
    opacity: 0;
    pointer-events: none;
    width: 0px;
}

.gff__header__language,
.gff__header__hamburger,
.gff__header__session__login,
.gff__header__session__register {
    opacity: 0;
    pointer-events: none;
    width: 0px;
}

.gff__header {
    background-color: #569F9B !important
}

.gff__footer {
    background-color: #569F9B !important;
}

.gff-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gff-login-card {
    background: #1d1d1d;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.gff-login-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.gff-login-message {
    font-size: .9rem;
    line-height: 1.4;
    color: #ddd;
}

.gff-login-button {
    display: inline-block;
    margin-top: 1.5rem;
    background: #fff;
    color: #000;
    padding: .6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.gff-container {
    /*max-width: 960px;*/
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    /*color: #222;*/
}

.gff__collaboration__fluid .col .input-group {
    max-width: 100% !important;
    width: 100% !important;
}


.gff-workspace-title {
    margin: 0 0 .5rem;
}

.gff-repository-list ul.gff-repo-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gff-repo-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    background: #fafafa;
}

.gff-repo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gff-repo-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
    display: block;
}

.gff-repo-excerpt {
    font-size: .9rem;
    color: #555;
}




/* ===== Fondo general ===== */
.term-trust-fund-committee {
    padding: 2rem 0;
}

.container-fondo {
    position: relative;
    overflow: hidden;
    margin: 0;
    z-index: 0;

}

.gff-sections.section-workspace {
    background-color: #ffffff;
    color: #569F9B !important;
    padding: 20px 3% 50px 3%;
    /*50px 3% 3%;*/
    z-index: 1;
    position: relative;
}

/* ===== Header ===== */
.gff-header.header-workspace {
    text-align: left;
    padding: 0px 3%;
    position: relative;
    overflow: hidden;
    margin-right: -400px;
}

.container-fondo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 400px;
    background-image: url(../img/waves-2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom left;

}

.container-fondo::before {
    content: "";
    position: absolute;
    top: 0;
    right: -5%;
    width: 55%;
    height: 40%;
    background-image: url(../img/waves.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
}

.gff-workspace-title {
    font-size: 40px;
    font-weight: 900;
    padding-top: 3.5rem;
    color: #707070;
}

.gff-workspace-desc p {
    font-size: 32px;
    font-weight: 700;
    color: #D5D02E;
    margin-top: 0.5rem;
}

/*=====Botonera======*/
.gff-workspace-nav {
    position: relative;
    margin-top: -6px;
}

.gff-workspace-nav .gff-border-nav {
    border-top: 2px solid #D2D2D2;
    position: absolute;
    top: 50%;
    left: 3%;
    width: 95%;
    z-index: 0;
}

.gff-workspace-nav .gff-workspace-nav__buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;

}

.gff-workspace-nav .gff-workspace-nav__buttons .gff-workspace-btn {
    border: 1px solid #DBD64B;
    background-color: #FFFFFF;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #707070;
    font-family: Montserrat-Regular, sans-serif;
    padding: 10px 27px;

    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
      position: relative;
    z-index: 1
}
.gff-workspace-nav__buttons::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 50%;              /* mitad inferior */
    background-color: #fff;

    z-index: -1;              /* queda detrás de los botones */
}
.gff-workspace-btn:focus-visible {
    box-shadow: 0 0 0 2px rgba(219, 214, 75, 0.6);
}

.gff-workspace-nav .gff-workspace-nav__buttons .gff-workspace-btn.is-active {
    background-color: #DBD64B;
    color: #fff;
}

/* ===== Secciones ===== 

.gff-sections {
    display: none;
}

.gff-sections.is-visible {
    display: block;
}

*/



.gff-section-current-meeting,
.gff-section-files,
.gff-section-archive {
    background: #fff;
}

.gff-border-bottom {
    border-bottom: 2px solid #d0dee8;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ===== Current Meeting ===== */

.gff-section-current-meeting h3 {
    color: #D5D02E;
    font-size: 20px;
}

.gff-section-current-meeting h3 .text-muted {
    color: #569F9B;
}

.gff-press-summary h4 {
    margin-bottom: 0.5rem;
    font-size: 16px;
}

.gff-press-summary p {
    font-size: 14px;
    color: #569F9B !important;
}

.gff-press-summary a,
a {
    font-size: 14px;
    font-weight: 700;
    color: #D5D02E;
    text-decoration: underline;
    transition: all 0.3s ease;
}

/* ===== Files ===== */

.gff-section-files h4 {
    font-size: 16px;
}

.gff-section-files ul li {
    padding: 0.75rem 0;
    margin-bottom: 0rem;
    transition: all 0.2s ease-in-out;
}

.gff-section-archive ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 2rem;
    padding-left: 0;
    padding-top: 9px;
    padding-bottom: 1rem;
}

.gff-section-files ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0rem 1rem;
    padding-left: 0;
    padding-bottom: 1rem;
}

.gff-section-files .capsula-file-meet a.capsula-img-titulo:hover {
    text-decoration: underline;
}


.gff-section-files .capsula-file-meet .capsula-img-titulo,
.gff-section-archive .capsula-file-meet .capsula-img-titulo {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gff-section-files a.capsula-file-meet .capsula-img-titulo strong,
.gff-section-archive .capsula-file-meet .capsula-img-titulo strong {
    font-size: 16px;
    white-space: nowrap;
}

.gff-section-archive .capsula-file-meet .capsula-img-titulo div {
    white-space: nowrap;
}

.gff-section-files .text-muted,
.gff-section-archive .text-muted {
    font-size: 14px;
    padding-left: 27px;
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    font-weight: 400;
}

.section-workspace-governance .gff-section-files .text-muted {
    padding-left: 0;
}

.gff-section-archive .text-muted {
    padding-left: 0px;
    padding-top: 0px;
}

.gff-section-files .text-muted .log {
    padding-right: 5px;
    white-space: nowrap;
    font-weight: 400;
    transition: all 0.3s ease;
}

.gff-section-files .text-muted .log:hover {
    text-decoration: underline;
}

.gff-section-files .text-muted .gff-repository-file-size {
    padding-left: 5px;
}

.gff-section-files .text-muted date,
.gff-section-archive .text-muted date {
    border: 1px solid #E7E7E7;
    border-radius: 20px;
    padding: 6px 11px;
    margin: 0 5px;
    text-transform: uppercase;
    font-size: 12px;
    white-space: nowrap;
}

.gff-section-archive .capsula-file-meet:hover strong {
    text-decoration: underline;
}

/* ===== Meetings Archive ===== */
.gff-section-archive h4 {
    font-size: 20px;
    margin: 0.8rem 0;
}


.gff-section-archive .gff-archive-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.gff-section-archive .gff-archive-filter .gff-filtro {
    display: flex;
    row-gap: 10px;
    gap: 10px;

}

.gff-section-archive .gff-archive-filter .gff-filtro span {
    background-color: #E7E7E7;
    border-radius: 20px;
    padding: 6px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
}

.gff-section-archive .gff-archive-filter .gff-filtro span:hover {
    background-color: #d0d0d0;
}

.gff-section-archive a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15%;
}




.gff-section-archive .capsula-file-meet img {
    width: 23px;
    height: 23px;
}



.gff-section-archive .capsula-file-meet .capsula-img-titulo {
    font-size: 14px;
}



/* ===== Responsivo ===== */
@media (max-width: 1150px) {

    .container-fondo::before {
        right: -55%;
        width: 100%;
    }

    .gff-sections.section-workspace {
        padding: 20px 3% 3%;
    }

    .gff-workspace-title {
        font-size: 1.5rem;
    }

    .gff-section-files h4 {
        padding-top: 16px;
    }

    .gff-section-files ul li {
        padding: 0;
    }

    .gff-section-files ul,
    .gff-section-archive ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-left: 0;
    }


    .gff-section-archive a {
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }

    .gff-section-archive .text-muted {
        padding-left: 27px;
        padding-top: 5px;
    }

    .gff-section-archive .capsula-file-meet .capsula-img-titulo {
        gap: 3px;
    }

    .gff-section-archive .gff-archive-filter {
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        padding-bottom: 1.5rem;
    }

}

@media (max-width: 1000px) {

    .container-fondo::before {
        right: -70%;
        width: 100%;
    }
}

@media (max-width: 768px) {

    .container-fondo::before {
        right: -60%;
        width: 100%;
    }

    .gff-workspace-nav {
        margin-top: 20px;
    }

    .gff-workspace-nav .gff-workspace-nav__buttons .gff-workspace-btn {
        font-size: 12px;
    }

    .gff-workspace-nav .gff-workspace-nav__buttons {
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 550px) {
    .gff-workspace-nav .gff-workspace-nav__buttons .gff-workspace-btn {
        padding: 10px 12px;
    }

    .container-fondo::before {
        right: -80%;
        width: 100%;
    }
}

/*Login page*/
.gff-login-workspace {
    padding-bottom: 35px;
}

.gff-login-workspace .gff-login-workspace-title {
    font-size: 24px;
    color: #707070;
    font-weight: 900;
}

.gff-login-workspace .gff-login-workspace-desc {
    font-size: 20px;
    color: #D5D02E;
    font-weight: 600;
}

.gff-login-form .gff-login-form-btn,
.gff-login-form form .gff-login-form-btn {
    background: #D5D02E;
    color: #fff;
    padding: 10px 36px;
    font-size: 14px;
    text-transform: capitalize;
}

.gff-login-form .input-group {
    max-width: 375px !important;
}

.gff-login-form .button-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.repository-login-link-style {
    text-transform: uppercase;
    color: #9E9E9E !important;
    font-size: 14px !important;

}

.repository-login-link-style.special {
    text-align: start !important;
    text-transform: none;
    padding-top: 20px;
}

@media (min-width: 901px) {
    .gff-login-form .button-wrapper .magic-link-open {
        text-align: right !important;
    }
}

.gff-login-form a.magic-link-close {
    color: #9E9E9E !important;
}

@media (max-width: 900px) {
    .gff-login-form .input-group {
        max-width: 600px !important;
    }

    #magic-login-shortcode .magic-login-inline-login-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #magic-login-shortcode .magic-login-submit {
        width: 60% !important;
    }

}

@media (max-width: 500px) {
    .gff-login-form .button-wrapper {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
}

/* Access Request Modal - Specific classes to avoid conflicts */
.gff-access-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gff-access-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.gff-access-modal__content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.gff-access-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.gff-access-modal__close img {
    display: block;
    width: 16px;
    height: 16px;
}

.gff-access-modal__close:hover {
    opacity: 0.7;
}

.gff-access-modal__title {
    font-size: 24px;
    font-weight: 700;
    color: #569F9B;
    margin: 0 0 1.5rem;
    text-align: center;
}

.gff-access-modal__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gff-access-modal__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gff-access-modal__form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.gff-access-modal__form-group input,
.gff-access-modal__form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E7E7E7;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.gff-access-modal__form-group input:focus,
.gff-access-modal__form-group textarea:focus {
    outline: none;
    border-color: #569F9B;
}

.gff-access-modal__form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.gff-access-modal__form-group .error-message {
    font-size: 12px;
    color: #e74c3c;
    display: none;
}

.gff-access-modal__form-group.has-error input,
.gff-access-modal__form-group.has-error textarea {
    border-color: #e74c3c;
}

.gff-access-modal__form-group.has-error .error-message {
    display: block;
}

.gff-access-modal__form button[type="submit"] {
    margin-top: 1rem;
    background: #D5D02E;
    color: #fff;
    padding: 12px 32px;
    font-size: 14px;
    text-transform: capitalize;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.gff-access-modal__form button[type="submit"]:hover {
    background: #c4c027;
}

.gff-access-modal__form button[type="submit"]:disabled {
    background: #9E9E9E;
    cursor: not-allowed;
}

.gff-access-modal__message {
    padding: 1rem;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 1rem;
    text-align: center;
}

.gff-access-modal__message.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.gff-access-modal__message.error-message-general {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive adjustments for access modal */
@media (max-width: 600px) {
    .gff-access-modal__content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .gff-access-modal__form-row {
        grid-template-columns: 1fr;
    }

    .gff-access-modal__title {
        font-size: 20px;
    }
}

/* Changelog Popup */
.gff-changelog-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gff-changelog-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.gff-changelog-popup__content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.gff-changelog-popup__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.gff-changelog-popup__close img {
    display: block;
    width: 16px;
    height: 16px;
}

.gff-changelog-popup__close:hover {
    opacity: 0.7;
}

.gff-changelog-popup__title {
    font-size: 22px;
    font-weight: 700;
    color: #569F9B;
    margin: 0 0 1.5rem;
    padding-right: 2rem;
}

.gff-changelog-popup__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.gff-changelog-popup__item {
    padding: 1rem;
    background: #f8f9fa;
    border-left: 3px solid #569F9B;
    border-radius: 4px;
}

.gff-changelog-popup__item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.gff-changelog-popup__item-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #569F9B;
    letter-spacing: 0.5px;
}

.gff-changelog-popup__item-date {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.gff-changelog-popup__item-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Empty state */
.gff-changelog-popup__empty {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 14px;
}

/* Responsive adjustments for changelog popup */
@media (max-width: 600px) {
    .gff-changelog-popup__content {
        padding: 1.5rem 1rem;
        width: 95%;
    }

    .gff-changelog-popup__title {
        font-size: 18px;
    }

    .gff-changelog-popup__item {
        padding: 0.75rem;
    }
}