@font-face {
  font-family: 'Gotham';
  src: url('/public/journals/1/fonts/Gotham-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('/public/journals/1/fonts/Gotham-Medium.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

aside#sidebar {
  display: none !important;
}

a {
  text-decoration: none;
}

section.sub_item.versions {
  display: none;
}

/* HEADER */
.navbar-default,
.header_view {
  background-image: url('/templates/images/structure/header-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border: none !important;
  position: relative;
}

header {
  padding: 20px 0 !important;
}

h1.site-name {
  margin: 10px 0 15px;
}

.container-bg {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

ul.dropdown-menu-right a {
  color: #17a371 !important;
}

ul.dropdown-menu-right {
  background-color: #fff;
  box-shadow: 0 0 30px -4px rgba(0, 0, 0, 0.15);
  padding: 15px;
  border-radius: 2px;
  display: none;
}

li.menu-item-10.dropdown:hover ul.dropdown-menu-right {
  display: block !important;
}

.container-bg .container-fluid:first-child,
.navbar-default,
nav#nav-menu {
  padding: 0 0.714rem;
}

button.navbar-toggle {
  display: none;
}

span.icon-bar {
  background-color: #fff;
  display: block;
  height: 4px;
  width: 20px;
}

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav#nav-menu {
  display: none;
}

nav#nav-menu.active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  background-color: #17a371;
  padding-top: 20px;
  padding-bottom: 30px;
}

ul#main-navigation {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0px;
  border-radius: 5px;
}

ul#main-navigation a {
  font-size: 15px !important;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-menu {
  list-style: none;
  padding-left: 10px;
  margin-top: 5px;
}

.navbar-form {
  display: none;
  gap: 2px;
}

body {
  margin: 0 !important;
  font-family: 'Gotham' !important;
}

a,
p {
  font-family: 'Gotham' !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Gotham' !important;
  font-weight: 700;
}

.obj_article_summary .title {
  font-size: 17px;
}

#navigationUser {
  margin: 0 !important;
  padding: 0;
}

.dropdown-toggle {
  color: #fff;
}

.dropdown-toggle:hover {
  color: #fff !important;
}

.navbar-brand-logo img {
  min-width: 250px !important;
  margin-bottom: 20px;
}

#navigationUser {
  display: flex;
  gap: 25px;
  list-style: none;
}

#navigationUser a {
  color: #fff;
  font-size: 15px !important;
}

.navbar-default,
.header_view {
  border: none !important;
}

li.menu-item-10.dropdown {
  position: relative;
}

ul.dropdown-menu-right {
  position: absolute;
  right: 0;
  z-index: 5;
  list-style: none;
  padding-left: 10px;
}

/* BTN */
.btn,
.btn-default,
.pkp_block.block_make_submission a {
  background-color: #17a371 !important;
  color: #fff;
  outline: none m !important;
}

.btn.pdf {
  border: 1px solid #17a371;
  background-color: transparent !important;
  color: #17a371;
}

.btn.pdf:hover {
  border: 1px solid #17a371;
  background-color: #17a371 !important;
  color: #fff;
}

.pkp_block.block_make_submission a:hover {
  background-color: #17a371 !important;
  color: #fff;
}

.btn:hover {
  background-color: #17a371 !important;
  color: #fff;
}

.btn-default:hover {
  background-color: #17a371 !important;
  color: #fff;
}

/* NOVO */
.page_login {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.auth-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.auth-title {
  font-weight: 700;
  margin-bottom: 50px !important;
}

form {
  max-width: 350px !important;
}

.fields-container {
  width: 100% !important;
}

.username {
  width: 100% !important;
}

.username input,
.password input {
  height: 40px !important;
  margin-bottom: 15px !important;
  border-color: #494848 !important;
  padding-left: 10px !important;
  font-size: 14px !important;
  min-width: 350px !important;
  border-width: 1px !important;
  background: #fff;
  font-weight: 500;
  color: #494848 !important;
}

.username input:focus-visible,
.password input:focus-visible {
  outline: solid 1px #009b7a !important;
}

h1 {
  color: #494848 !important;
}

.remember {
  display: flex !important;
  justify-content: flex-end !important;
}

.remember span {
  text-transform: uppercase !important;
  font-size: 12px !important;
}

.remember input {
  accent-color: #009b7a !important;
}

.buttons {
  display: flex !important;
  justify-content: space-between !important;
  margin-top: 40px !important;
}

.register,
.submit {
  padding: 10px 20px !important;
  font-size: 16px !important;
  text-transform: uppercase;
  border: none !important;
  color: #fff !important;
}

.submit {
  background-color: #009b7a !important;
  cursor: pointer;
  margin-right: -16px !important;
}

.register {
  background-color: #494848 !important;
  text-decoration: none !important;
  margin-left: -15px !important;
}

.footer {
  margin-top: 50px;
}

@media (min-width: 480px) {
  .container-bg .container-fluid:first-child,
  .navbar-default,
  nav#nav-menu {
    padding-left: 1.43rem;
    padding-right: 1.43rem;
  }
}

@media (min-width: 992px) {
  .navbar-brand-logo img {
    margin-bottom: 0;
  }
  .container-fluid {
    width: 50%;
  }
  .container-bg {
    flex-direction: row-reverse !important;
    justify-content: space-between;
    width: 952px;
    margin: 0 auto;
  }

  ul#main-navigation,
  .navbar-header {
    width: 952px;
    margin: 0 auto;
  }

  .pull-md-right {
    width: 952px;
    margin: 30px auto 0;
  }
}

@media (min-width: 1000px) {
  .site-name {
    display: block;
  }

  nav#nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 50px;
    background-color: transparent;
    position: static;
    padding: 0;
  }

  ul#main-navigation {
    flex-direction: row;
    column-gap: 20px;
    margin: 0;
  }

  .pull-md-right {
    margin: 0;
    width: auto;
  }

  button.navbar-toggle {
    display: none;
  }

  .nav#nav-menu {
    position: static;
  }

  .container-bg .container-fluid:first-child {
    position: static;
    padding: 0 !important;
  }

  h1.site-name {
    display: block;
  }

  .container-fluid:nth-child(2) {
    display: flex;
    align-items: center;
    column-gap: 20px;
  }

  .dropdown-menu a {
    color: #17a371 !important;
  }

  .dropdown-menu {
    background: #fff;
    border-radius: 2px;
    position: absolute;
    list-style: none;
    left: 0;
    padding: 15px;
    z-index: 5;
    box-shadow: 0 0 30px -4px rgba(0, 0, 0, 0.15);
  }

  ul.dropdown-menu.dropdown-menu-right {
    right: 0 !important;
    left: unset !important;
    width: 135px;
    position: absolute;
  }

  ul.ul.dropdown-menu.dropdown-menu-right a {
    color: #17a371;
  }

  .dropdown-menu li:not(:last-child) {
    margin-bottom: 12px;
  }

  .menu-item-18 .dropdown-menu {
    width: 206px;
  }

  .dropdown {
    position: relative;
  }

  ul.dropdown-menu {
    margin: 0;
  }
}

@media (min-width: 1200px) {
  .container-bg {
    width: 1160px;
  }
}

.pkp_structure_main:before,
.pkp_structure_main:after {
  background: unset !important;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #666;
}

.toggle-password:hover {
  color: #000;
}



/* Container Principal */
.custom-register-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Montserrat', sans-serif; /* Ou Arial/Helvetica */
  text-align: center;
}

/* Títulos */
.register-title,
.auth-section-title {
  font-size: 28px;
  font-weight: bold;
  color: #3e505b;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* Inputs Estilo Imagem 2 */
.custom-input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 2px solid #3e505b;
  border-radius: 0; /* Quadrado como na imagem */
  font-size: 14px;
  font-weight: bold;
  color: #3e505b;
  box-sizing: border-box;
  text-transform: uppercase;
}

.custom-input::placeholder {
  color: #3e505b;
}

/* Checkboxes */
.consent-group {
  text-align: left;
  margin: 20px 0;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  font-size: 10px;
  font-weight: bold;
  color: #3e505b;
  margin-bottom: 8px;
  cursor: pointer;
}

.custom-checkbox input {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #26a68a; /* Cor verde do botão */
}

/* Botões */
.custom-buttons {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.btn-register {
  flex: 1;
  background-color: #26a68a;
  color: white;
  padding: 15px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-login {
  flex: 1;
  background-color: #3e505b;
  color: white;
  padding: 15px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  text-transform: uppercase;
}

.btn-register:hover,
.btn-login:hover {
  opacity: 0.9;
}

/* Esconder labels originais do OJS que não se encaixam no design */
.cmp_form.register label .label {
  display: none;
}
