
/* MENU */

/* Submenu do menu conta alinhado a direita */
#menu-item-999:hover>.sub-menu {
    right: 0 !important;
    left: auto !important;
}

.notice {
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #333;
}
.notice.success {
    border-color: #4CAF50;
    background-color: #dff0d8;
    color: #1b5a1c;
}
.notice.error {
    border-color: #f44336;
    background-color: #f2dede;
    color: #7d2a28;
}



/* Editor de perfil */

.login-error {
    color: red;
    border: 1px solid red;
    padding: 10px;
    margin-bottom: 15px;
}
.login-links {
    margin-top: 15px;
}

.mini-button {
    padding: 10px 12px;
    border-radius: 3px;
}
.va-top {
    vertical-align: top;
}

.wp-generate-pw {
    margin-top: 1em;
    position: relative
}

.wp-pwd button {
    height: min-content
}

.wp-pwd button.pwd-toggle .dashicons {
    position: relative;
    top: .25rem
}

.wp-pwd {
    margin-top: 1em;
    position: relative;
}

#pass-strength-result {
    background-color: #f0f0f1;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    color: #1d2327;
    margin-top: 2px;
    padding: 0 5px;
    text-align: center;
    width: 25em;
    box-sizing: border-box;
    opacity: 0;
    font-weight: 600;
}

#pass-strength-result.short {
    background-color: #ffabaf;
    border-color: #e65054;
    opacity: 1
}

#pass-strength-result.bad {
    background-color: #facfd2;
    border-color: #f86368;
    opacity: 1
}

#pass-strength-result.good {
    background-color: #f5e6ab;
    border-color: #f0c33c;
    opacity: 1
}

#pass-strength-result.strong {
    background-color: #b8e6bf;
    border-color: #68de7c;
    opacity: 1
}

.password-input-wrapper {
    display: inline-block
}

.password-input-wrapper input {
    font-family: Consolas,Monaco,monospace
}

#pass1-text.short,#pass1.short {
    border-color: #e65054
}

#pass1-text.bad,#pass1.bad {
    border-color: #f86368
}

#pass1-text.good,#pass1.good {
    border-color: #f0c33c
}

#pass1-text.strong,#pass1.strong {
    border-color: #68de7c
}

#pass1-text:focus,#pass1:focus {
    box-shadow: 0 0 0 2px #2271b1;
    outline: 2px solid transparent
}

.pw-weak {
    display: none
}

.indicator-hint {
    padding-top: 8px
}

.wp-pwd [type=password],.wp-pwd [type=text] {
    margin-bottom: 0;
    min-height: 30px
}

.wp-pwd input::-ms-reveal {
    display: none
}

#pass1-text,.show-password #pass1 {
    display: none
}

#pass1-text::-ms-clear {
    display: none
}

.show-password #pass1-text {
    display: inline-block
}


/* Work Submission Form Styles */
table {
    border-width: 0;
}
.al4as-submit-work-form .box {
    margin-top: 20px;
}

.al4as-submit-work-form .author-item, 
.al4as-submit-work-form .affiliation-item {
    margin-bottom: 10px;
}

.al4as-submit-work-form .columns {
    margin-bottom: 0;
}

.al4as-submit-work-form .field {
    margin-bottom: 1rem;
}

.tabs.is-boxed li a {
    border: 1px solid transparent;
    border-bottom: none;
    text-decoration: none;
}

.tabs.is-boxed li.is-active a {
    background-color: #fff;
    border-bottom: 2px solid transparent;
    color: #000;
}

.tabs.is-boxed li.tab-disabled a {
    color: #ccc;
    pointer-events: none;
}

.preview-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
}

.preview-label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #363636;
}

.quill-content {
    min-height: 100px;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: 0.5rem;
    background-color: #f9f9f9;
}
a.button {
    text-decoration: none !important;
}
.delete {
    padding-left: 0;
}

/* ================================================================
   PERFIL DO INVESTIGADOR — layout de duas colunas
   Usado em [custom_profile_info] e [investigator_profile]
   ================================================================ */

/*.al4as-profile-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
}*/

/* Coluna esquerda */
/*.al4as-profile-sidebar {
    flex: 0 0 260px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
}*/

/*.al4as-profile-sidebar .al4as-profile-image img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #5a9a3d;
    display: block;
    margin: 0 auto 1.5rem;
}*/

/* Badges de metadados */
/*.al4as-profile-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}*/

/*.al4as-profile-meta dt.al4as-meta-badge {
    display: inline-block;
    background: #2d5a27;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 20px;
    margin: 1rem 0 .35rem;
}*/

/*.al4as-profile-meta dd {
    margin: 0 0 .25rem;
    color: #2d5a27;
    font-weight: 600;
    font-size: .95rem;
    word-break: break-word;
}*/

/* Coluna direita */
/*.al4as-profile-main {
    flex: 1 1 320px;
}*/

/*.al4as-profile-main .al4as-profile-name,
.investigator-profile-header .al4as-profile-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 .25rem;
    color: #1a1a1a;
}*/

/*.al4as-profile-main .al4as-title-name,
.investigator-profile-header .al4as-title-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5a9a3d;
    margin: 0 0 .2rem;
}*/

/*.al4as-profile-main .al4as-profile-affiliation,
.investigator-profile-header .al4as-profile-affiliation {
    font-size: 1rem;
    font-weight: 700;
    color: #2d5a27;
    margin: 0 0 1.5rem;
}*/

/*.al4as-profile-bio {
    color: #333;
    line-height: 1.75;
    margin-top: 1rem;
}*/

@media (max-width: 640px) {
    /*.al4as-profile-layout {
        flex-direction: column;
    }*/
    /*.al4as-profile-sidebar {
        flex: 0 0 auto;
        width: 100%;
    }*/
}

/* Botão Back to Results */
/*.al4as-profile-back {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}*/

/*.al4as-back-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 2px solid #2d5a27;
    color: #2d5a27;
    background: transparent;
    padding: .45rem 1.1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none !important;
    transition: background .2s, color .2s;
}*/

/*.al4as-back-btn:hover {
    background: #2d5a27;
    color: #fff;
}*/

/* ================================================================
   SEARCH BAR HERO
   ================================================================ */

/*.al4as-search-bar-form {
    display: flex !important;
    align-items: center;
    gap: .75rem;
    flex-wrap: nowrap;
}*/

/*.al4as-search-input {
    flex: 1 1 auto;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: .6rem 1.25rem;
    font-size: 1rem;
    outline: none;
    min-width: 0;
    box-sizing: border-box;
}*/

/*.al4as-search-input:focus {
    border-color: #5a9a3d;
    box-shadow: 0 0 0 2px rgba(90,154,61,.2);
}*/

/*.al4as-search-btn {
    flex: 0 0 auto;
    background: transparent;
    color: #ffffff;
    border: 2px solid #4CAF50;
    border-radius: 30px;
    padding: .55rem 1.4rem;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, color .2s;
}*/

/*.al4as-search-btn:hover {
    border: 2px solid #4CAF50;
    background: #4CAF50;
    color: #103d26;
}*/

/* ================================================================
   GRELHA E CARDS DE INVESTIGADORES
   ================================================================ */

/*.al4as-investigator-search {
    margin-top: 2rem;
}*/

/* Header dos resultados: título à esquerda, filtros à direita */
/*.al4as-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e8e8e8;
}*/

/*.al4as-results-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}*/

/* Linha de filtros */
/*.al4as-filter-form {
    margin: 0;
}*/

/*.al4as-filter-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: nowrap;
}*/

/*.al4as-filter-label {
    font-size: .85rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}*/

/*.al4as-filter-select {
    width: auto;
    max-width: 180px;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: .35rem 2rem .35rem .9rem;
    font-size: .85rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E") no-repeat right .7rem center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: #333;
    box-sizing: border-box;
}*/

/*.al4as-filter-clear {
    font-size: .82rem;
    color: #888;
    text-decoration: underline;
    white-space: nowrap;
}*/

/* Grelha — 2 colunas em desktop, 1 em mobile */
/*.al4as-investigator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}*/

/* Card horizontal */
/*a.al4as-profile-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem !important;
    background: #f2f2ee;
    border-radius: 8px;
    text-decoration: none !important;
    color: inherit;
    transition: background .2s, color .2s;
    text-align: left;
}*/

/*.al4as-profile-card:hover {
    background: #3a7d28;
}*/

/* Imagem dentro do card */
/*.al4as-profile-card .al4as-profile-image {
    flex: 0 0 100px;
}*/

/*a.al4as-profile-card .al4as-profile-image img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #5a9a3d;
    display: block;
    margin: 0;
    margin-bottom: 0 !important;
}*/

/* Texto do card */
/*.al4as-profile-info {
    flex: 1 !important;
    min-width: 0;
    text-align: left !important;
}*/

/*a.al4as-profile-card .al4as-profile-name {
    margin: 0 0 .15rem;
    transition: color .2s;
    text-align: left;
}*/

/*a.al4as-profile-card .al4as-title-name {
    margin: 0 0 .15rem;
    transition: color .2s;
    text-align: left;
}*/

/*.al4as-profile-card .al4as-profile-affiliation {
    font-size: .82rem;
    color: #666;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color .2s;
}*/

/* Estado hover — texto a branco */
/*.al4as-profile-card:hover .al4as-profile-name,
.al4as-profile-card:hover .al4as-title-name,
.al4as-profile-card:hover .al4as-profile-affiliation {
    color: #fff;
}*/

/*.al4as-profile-card:hover .al4as-profile-image img {
    border-color: rgba(255,255,255,.6);
}*/

@media (max-width: 640px) {
    /*.al4as-investigator-grid {
        grid-template-columns: 1fr;
    }*/
    /*.al4as-results-header {
        flex-direction: column;
        align-items: flex-start;
    }*/
}

/* Publications in investigator profile */
.al4as-profile-publications {
    margin-top: 5em;
}

.al4as-publications-title {
    margin: 0 0 1.2rem;
    font-size: 2.1rem;
    line-height: 1.1;
    font-weight: 800;
    color: #0b1a12;
}

.al4as-publications-empty {
    margin: 0;
    color: #5d5d5d;
}

.al4as-publication-list:not(:nth-of-type(1)) {
    border-top: 1px solid #e6e6e6;
}

.al4as-publication-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9e9e9;
}

.al4as-publication-content {
    min-width: 0;
    flex: 1;
}

.al4as-publication-heading {
    margin: 0 !important;
    line-height: 1.25;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e1e1e;
}

.al4as-publication-year {
    color: #5a9a3d;
    font-weight: 800;
}

.al4as-publication-name {
    color: #1f2a22;
    font-weight: 700;
}

.al4as-publication-summary {
    margin: 0.35rem 0 0;
    color: #666;
    line-height: 1.2;
    font-size: 1.2rem;
    font-weight: 200;
}

.al4as-publication-arrow {
    color: #5a9a3d;
    font-size: 2rem;
    line-height: 1;
    font-weight: 500;
    flex: 0 0 auto;
}

.al4as-investigator-not-found {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto;
}

.al4as-investigator-not-found p,
.al4as-investigator-not-found h3 {
    margin: 0;
    text-align: center;
}

body.al4as-investigator-profile-context .al4as-search-bar-profile,
body.al4as-investigator-profile-context .al4as-search-bar-profile-spacer {
    display: none !important;
}

@media (max-width: 768px) {
    .al4as-publications-title {
        font-size: 1.7rem;
    }

    .al4as-publication-heading {
        font-size: 1.15rem;
    }

    .al4as-publication-summary {
        font-size: 0.98rem;
    }

    .al4as-publication-arrow {
        font-size: 1.7rem;
    }
}

