@charset "UTF-8";
/* utilities */
.top-title {
  display: block;
  font-size: var(--p-10);
  color: var(--main--black);
  opacity: 0.5;
  font-weight: 400;
  line-height: 110%; /* 0.6875rem */
}

body:is(.page-template-dashboard) {
  min-height: 100vh;
  background-color: var(--secondary--yellow);
}
body:is(.page-template-dashboard):has(.dashboard-page-content.role-coachee) {
  background-color: var(--main--white);
}
body:is(.page-template-dashboard) .dashboard-logout-btn {
  position: fixed;
  left: 4rem;
  bottom: 4rem;
  z-index: 10;
}
body:is(.page-template-dashboard) .dashboard-logout-btn .wp-block-button__link {
  background: var(--secondary--orange);
  position: relative;
  padding-left: 2.5rem;
  padding-right: 1.5rem;
}
body:is(.page-template-dashboard) .dashboard-logout-btn .wp-block-button__link::after {
  left: 1em;
  transform: translateY(-50%) rotateY(180deg);
}
@media screen and (max-width: 1000px) {
  body:is(.page-template-dashboard) .dashboard-logout-btn {
    left: 0;
    bottom: 0;
    z-index: 10;
    background-color: var(--main--white);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }
}
body:is(.page-template-dashboard) .site-footer {
  display: none;
}

@media screen and (min-width: 1000px) {
  body:is(.page-template-dashboard) .dashboard-page-content {
    position: relative;
    overflow: hidden;
    height: 100vh;
  }
  body:is(.page-template-dashboard) .dashboard-page-content::after {
    position: absolute;
    content: "";
    background-image: url("../img/Texture_pop.webp");
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
}
.dashboard-page-content {
  padding: 12rem 1rem 4rem 1rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.dashboard-page-content .dashboard-intro {
  grid-column: 1/-1;
  border-radius: 1rem;
  border: 2px solid var(--main--black);
  background: var(--basic-white);
  box-shadow: 3px 3px 0 0 #1a1a1a;
  padding: 1.5rem;
  height: fit-content;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 1000px) {
  .dashboard-page-content .dashboard-intro {
    grid-column: 1/span 3;
  }
}
.dashboard-page-content .dashboard-intro .dashboard-title {
  font-size: var(--title-24);
  font-family: var(--main-font);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: capitalize;
}
.dashboard-page-content .dashboard-intro .dashboard-info {
  display: flex;
  gap: 1rem;
}
.dashboard-page-content .dashboard-intro .dashboard-info .profile-image {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.dashboard-page-content .dashboard-intro .dashboard-info .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dashboard-page-content .dashboard-intro .dashboard-info .profile-details .top-title {
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.dashboard-page-content .dashboard-intro .dashboard-info .profile-details .nome {
  display: block;
  font-size: var(--p-18);
  font-weight: 500;
  color: var(--main--black);
  margin-bottom: 1rem;
}
.dashboard-page-content .dashboard-intro .dashboard-info .profile-details .stato {
  font-size: var(--p-10);
  font-weight: 400;
  color: var(--secondary--yellow);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid var(--secondary--yellow);
  background: rgba(249, 199, 34, 0.1);
}
.dashboard-page-content .dashboard-intro .dashboard-info .profile-details .stato.abbinata {
  color: var(--main--green);
  border-color: var(--main--green);
  background: rgba(59, 196, 68, 0.1);
}
.dashboard-page-content .dashboard-intro .elimina-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.dashboard-page-content .dashboard-intro .elimina-container a {
  font-size: var(--p-14);
  color: var(--secondary--red);
  font-weight: 400;
}
.dashboard-page-content .tabs-container {
  grid-column: 1/-1;
  border-radius: 1rem;
  border: 2px solid var(--main--black);
  background: var(--basic-white);
  box-shadow: 3px 3px 0 0 #1a1a1a;
  /* padding: 1.5rem; */
  position: relative;
  z-index: 1;
  overflow-y: hidden;
  height: 100%;
}
@media screen and (min-width: 1000px) {
  .dashboard-page-content .tabs-container {
    grid-column: 4/span 9;
    max-height: 75vh;
    max-height: 120vh;
    overflow-y: scroll;
  }
}
.dashboard-page-content .tabs-container .tabs-header {
  position: sticky;
  top: 0;
  background: var(--basic-white);
  z-index: 2;
  padding: 1.5rem 1.5rem 0 1.5rem;
}
.dashboard-page-content .tabs-container .tabs-body {
  padding: 0 1.5rem 1.5rem;
}
@media screen and (min-width: 1200px) {
  .dashboard-page-content {
    padding: 12rem 4rem 4rem 4rem;
    margin-bottom: initial;
  }
}

.tabs-titoli {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--main--black);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}
.tabs-titoli li {
  list-style: none;
  margin-right: 1rem;
}
.tabs-titoli li button {
  font-size: var(--p-18);
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  color: var(--main--black);
  opacity: 0.5;
  cursor: pointer;
  white-space: nowrap;
  background-color: transparent;
  border: none;
  transition: opacity 0.3s ease, border-bottom 0.3s ease;
}
.tabs-titoli li button.active {
  opacity: 1;
  font-weight: 600;
  border-bottom: 3px solid var(--main--black);
  border-radius: 0;
}
.tabs-titoli li button:hover {
  opacity: 1;
}
.tabs-titoli:-webkit-scrollbar {
  display: none;
}
.tabs-titoli ::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* .tab-panel {
  p {
    font-size: var(--p-18);
    margin-bottom: 2rem;
  }
} */
/* User Profile Dashboard */
.user-profile-dashboard {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 2rem;
  /* Colonna sinistra - Info base */
}
.user-profile-dashboard .profile-left-column {
  grid-column: 1/-1;
}
@media screen and (min-width: 760px) {
  .user-profile-dashboard .profile-left-column {
    grid-column: span 3;
  }
}
.user-profile-dashboard .profile-left-column {
  display: flex;
  flex-direction: column;
}
.user-profile-dashboard .profile-left-column .profile-avatar {
  width: 100%;
  max-height: 286px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
}
.user-profile-dashboard .profile-left-column .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-profile-dashboard .profile-left-column .profile-name {
  font-size: var(--title-24);
  font-weight: 600;
  color: var(--main--black);
  margin-bottom: 0.5rem;
}
.user-profile-dashboard .profile-left-column .profile-subtitle {
  margin-bottom: 1.5rem;
  --p-10: 0.875rem;
}
.user-profile-dashboard .profile-left-column .profile-contact {
  font-size: var(--subtitle-18);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.user-profile-dashboard .profile-left-column .profile-contact a {
  color: var(--main--black);
  text-decoration: none;
  word-wrap: break-word;
}
.user-profile-dashboard .profile-left-column .profile-contact a:hover {
  text-decoration: underline;
}
.user-profile-dashboard .profile-left-column .profile-edit-button {
  margin-top: 2rem;
  width: 100%;
}
.user-profile-dashboard {
  /* Colonna destra - Info dettagliate */
}
.user-profile-dashboard .profile-right-column {
  grid-column: 1/-1;
}
@media screen and (min-width: 760px) {
  .user-profile-dashboard .profile-right-column {
    grid-column: span 6;
  }
}
.user-profile-dashboard .profile-right-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.user-profile-dashboard .profile-right-column .profile-section .section-title {
  font-family: var(--main-font);
  font-size: var(--subtitle-18);
  color: var(--main--black);
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 1rem;
}
.user-profile-dashboard .profile-right-column .profile-section .profile-field {
  margin-bottom: 1rem;
}
.user-profile-dashboard .profile-right-column .profile-section .profile-field:last-child {
  margin-bottom: 0;
}
.user-profile-dashboard .profile-right-column .profile-section .profile-field .field-label {
  margin-bottom: 0.25em;
}
.user-profile-dashboard .profile-right-column .profile-section .profile-field .field-value {
  display: block;
  font-size: var(--p-18);
  color: var(--main--black);
}

/* Stili per la modalità di modifica del profilo */
#profile-edit-container fieldset {
  border: none !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
#profile-edit-container fieldset h3 {
  font-size: var(--subtitle-18);
  font-weight: 600;
}
#profile-edit-container fieldset.form-actions {
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}
#profile-edit-container .profile-avatar-upload {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
#profile-edit-container .profile-avatar-upload .profile-avatar-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}
#profile-edit-container .profile-avatar-upload .profile-avatar-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--main--black);
}
#profile-edit-container .profile-avatar-upload .profile-avatar-preview .remove-avatar-btn {
  border: 2px solid var(--main--black);
  background: var(--basic-white);
  color: var(--secondary--red);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 0 var(--main--black);
  font-size: var(--p-14);
}
#profile-edit-container .profile-avatar-upload .profile-avatar-input {
  margin-bottom: 0.5rem;
}
#profile-edit-container .profile-avatar-upload .profile-avatar-input.is-hidden {
  display: none;
}
#profile-edit-container .profile-avatar-upload .profile-avatar-input .avatar-live-preview {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--main--black);
  margin-bottom: 0.5rem;
}
#profile-edit-container .profile-avatar-upload .profile-avatar-input .avatar-live-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#profile-edit-container .profile-avatar-upload .profile-avatar-input .helper-text {
  font-size: var(--p-10);
  color: var(--main--black);
  margin-top: 0.5rem;
  opacity: 0.6;
}

/* Lista Coachee per Coach */
.coachee-list-header {
  border-bottom: 1px solid var(--main--black);
  padding-bottom: 0.5rem;
  --p-10: 0.875rem;
}

.coachee-list .coachee-list-item {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--main--black);
  background: var(--basic-white);
  transition: all 0.3s ease;
}
@media screen and (min-width: 600px) {
  .coachee-list .coachee-list-item {
    flex-direction: row;
    align-items: center;
  }
  .coachee-list .coachee-list-item:nth-of-type(even) {
    background-color: var(--basic-grey);
  }
}
.coachee-list .coachee-list-item:hover {
  background-color: var(--main--white);
}
.coachee-list .coachee-list-item .coachee-name {
  font-size: var(--p-18);
  color: var(--main--black);
}
.coachee-list .coachee-list-item .view-coachee-profile-btn {
  white-space: nowrap;
  --button: 1rem;
}

/* Container profilo coachee */
.coachee-profile-view .back-to-list-container {
  margin-bottom: 2rem;
}
.coachee-profile-view .back-to-list-container .back-to-list-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* tab news */
#dashboard-news-list p {
  margin-bottom: 2rem;
}

.dashboard-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media screen and (min-width: 768px) {
  .dashboard-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1000px) {
  .dashboard-news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.dashboard-news-grid .dashboard-news-card {
  border-radius: 1rem;
  border: 2px solid var(--main--black);
  background: var(--basic-white);
  box-shadow: 3px 3px 0 0 #1a1a1a;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  width: 100%;
  cursor: pointer;
  display: block;
}
.dashboard-news-grid .dashboard-news-card .dashboard-news-image {
  width: 100%;
  height: 10rem;
  overflow: hidden;
}
.dashboard-news-grid .dashboard-news-card .dashboard-news-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.dashboard-news-grid .dashboard-news-card .dashboard-news-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: stretch;
}
.dashboard-news-grid .dashboard-news-card .dashboard-news-content .dashboard-news-title {
  font-size: var(--subtitle-18);
  font-weight: 600;
  color: var(--main--black);
}
.dashboard-news-grid .dashboard-news-card .dashboard-news-content .dashboard-news-excerpt {
  font-size: var(--p-14);
  color: var(--main--black);
  flex-grow: 1;
}
.dashboard-news-grid .dashboard-news-card .dashboard-news-content .dashboard-news-meta {
  font-size: var(--p-10);
  color: var(--main--black);
  opacity: 0.5;
}
.dashboard-news-grid .dashboard-news-card:hover {
  background-color: var(--main--white);
  border-color: var(--secondary--yellow);
  box-shadow: 3px 3px 0 0 #f9c722;
  text-decoration: none;
}

/* Back to news button (fuori da dashboard-article) */
.back-to-news-container {
  margin-bottom: 2rem;
}

/* Dashboard Article Display (in tabs-body) */
.dashboard-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media screen and (min-width: 760px) {
  .dashboard-article {
    flex-direction: row;
  }
}
.dashboard-article .col-left {
  flex: 1;
}
@media screen and (min-width: 760px) {
  .dashboard-article .col-left {
    max-width: 40%;
  }
}
.dashboard-article .col-left .article-featured-image {
  margin: 0 0 1rem 0;
}
.dashboard-article .col-left .article-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.dashboard-article .col-left .article-excerpt {
  font-size: var(--p-14);
  margin-bottom: 0.5rem;
}
.dashboard-article .col-right {
  flex: 1;
}
@media screen and (min-width: 760px) {
  .dashboard-article .col-right {
    max-width: 60%;
  }
}
.dashboard-article .col-right .article-title {
  font-size: var(--title-24);
  font-family: var(--main-font);
  text-transform: capitalize;
  margin-bottom: 20px;
}
.dashboard-article .col-right .article-content p {
  margin-bottom: 1.5rem;
}
.dashboard-article .col-right .article-content .wp-block-heading {
  font-family: var(--main-font);
  font-size: var(--subtitle-18);
  margin-bottom: 0.75em;
  text-transform: capitalize;
}

.article-loading,
.article-error {
  padding: 40px 20px;
  text-align: center;
  font-size: 18px;
}

.article-error {
  color: #c43b43;
}

/* materiali coach */
#coach-materiali-container {
  width: 100%;
}
#coach-materiali-container #materiali-list-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}
#coach-materiali-container #materiali-list-view .btn-aggiungi-materiale {
  font-size: var(--p-14);
}
#coach-materiali-container #materiali-list-view .materiali-intro {
  width: 100%;
  margin-bottom: 1rem;
}
#coach-materiali-container #materiali-list-view {
  /* Tabella materiali */
}
#coach-materiali-container #materiali-list-view .materiali-table {
  width: 100%;
  border-collapse: collapse;
}
#coach-materiali-container #materiali-list-view .materiali-table thead {
  border-bottom: 1px solid var(--main--black);
}
#coach-materiali-container #materiali-list-view .materiali-table thead tr th {
  padding: 0.5rem 0;
  text-align: left;
  color: var(--main--black);
  opacity: 0.5;
  font-size: var(--p-14);
  font-weight: 400;
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr {
  border-bottom: 1px solid var(--main--black);
}
@media screen and (min-width: 760px) {
  #coach-materiali-container #materiali-list-view .materiali-table tbody tr:nth-child(even) {
    background-color: var(--basic-grey);
  }
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td {
  padding: 0.75rem 0;
  font-size: var(--p-14);
  color: var(--main--black);
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td:first-child {
  font-weight: 500;
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td.materiale-actions {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td a {
  color: var(--link);
  text-decoration: underline;
  word-break: break-all;
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td a:hover {
  color: var(--secondary--light--blue);
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td .btn-modifica-materiale {
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  color: var(--main-grey);
  font-size: var(--p-14);
  font-weight: 400;
  line-height: 140%; /* 19.6px */
  transition: color 0.3s ease;
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td .btn-modifica-materiale:hover {
  color: var(--secondary--orange);
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td .btn-elimina-materiale {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td .btn-elimina-materiale svg path {
  fill: var(--secondary--red);
  transition: fill 0.3s ease;
}
#coach-materiali-container #materiali-list-view .materiali-table tbody tr td .btn-elimina-materiale:hover svg path {
  fill: var(--secondary--orange);
}

/* Messaggio lista vuota */
.no-materiali {
  width: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--main--black);
  opacity: 0.6;
}

/* Form nuovo materiale */
#materiali-form-view {
  background-color: var(--basic-white);
  border: 2px solid var(--main--black);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 2px 2px 0 0 var(--main--black);
}
#materiali-form-view h3 {
  font-size: var(--subtitle-18);
  font-family: var(--main-font);
  margin-bottom: 1rem;
  text-transform: capitalize;
}
#materiali-form-view .materiale-field {
  margin-bottom: 1.5rem;
}
#materiali-form-view .materiale-field label {
  display: block;
  font-size: var(--p-14);
  font-weight: 600;
  color: var(--main--black);
  margin-bottom: 0.5rem;
}
#materiali-form-view .materiale-field input[type=text],
#materiali-form-view .materiale-field input[type=url] {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--p-14);
  border: 2px solid var(--main--black);
  border-radius: 0.5rem;
  background-color: var(--basic-white);
  color: var(--main--black);
  transition: all 0.3s ease;
}
#materiali-form-view .materiale-field input[type=text]:focus,
#materiali-form-view .materiale-field input[type=url]:focus {
  outline: none;
  border-color: var(--secondary--yellow);
  box-shadow: 0 0 0 3px rgba(255, 248, 225, 0.3);
}
#materiali-form-view .materiale-field input[type=text]::placeholder,
#materiali-form-view .materiale-field input[type=url]::placeholder {
  color: rgba(26, 26, 26, 0.4);
}
#materiali-form-view .materiale-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Responsive materiali */
@media screen and (max-width: 768px) {
  .materiali-table {
    border-top: 1px solid var(--main--black);
    font-size: var(--p-12);
  }
  .materiali-table thead {
    display: none;
  }
  .materiali-table tbody,
  .materiali-table tr,
  .materiali-table td {
    display: block;
    width: 100%;
  }
  .materiali-table tbody tr .materiale-actions {
    justify-content: space-between !important;
  }
  .materiali-table tr {
    padding: 0.5rem 0;
  }
  .materiali-table thead tr th,
  .materiali-table tbody tr td {
    padding: 0.75rem 0.5rem;
  }
  #materiali-form-view {
    padding: 1.5rem;
  }
  .materiale-form-actions {
    flex-direction: column;
  }
  .materiale-form-actions button {
    width: 100%;
  }
}
/* login */
body:is(.page-template-login) {
  background: var(--secondary--light--blue);
}
body:is(.page-template-login) .site-footer {
  background-color: transparent;
}
body:is(.page-template-login) h1,
body:is(.page-template-login) p.login {
  color: var(--main--white);
  text-align: center;
  font-family: var(--main-font);
  font-weight: 600;
}
body:is(.page-template-login) h1 {
  font-size: var(--title-24);
  /* margin-bottom: 1rem; */
}

@media screen and (min-width: 1000px) {
  body:is(.page-template-login) {
    position: relative;
  }
  body:is(.page-template-login)::after {
    position: absolute;
    content: "";
    background: var(--secondary--light--blue) url("../img/Texture_pop.webp") center/cover no-repeat;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}
.login-page-content {
  padding: 13rem 1rem 8rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 550px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}
.login-page-content .login-form-wrapper {
  width: 100%;
}
.login-page-content .login-form-wrapper .login-form-errors {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--secondary--red);
  border-radius: 0.5rem;
  background-color: rgba(196, 59, 67, 0.5);
  box-shadow: 2px 2px 0 0 var(--secondary--red);
}
.login-page-content .login-form-wrapper .login-form-errors p {
  margin: 0;
  font-size: var(--p-14);
  font-weight: 500;
  color: var(--basic-white);
}
.login-page-content .login-form-wrapper .login-form-errors p + p {
  margin-top: 0.5rem;
}

.login-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}
.login-form .login-submit {
  cursor: pointer;
  position: relative;
  text-align: center;
}
.login-form .login-submit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.293 8L7.99609 15.2959L7.28516 14.5957L12.5283 9.35352L13.3818 8.5H0.5V7.5H13.3818L7.28516 1.40332L7.99609 0.703125L15.293 8Z' fill='%231A1A1A' stroke='%231A1A1A'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease;
}
@media screen and (min-width: 760px) {
  .login-form .login-submit::after {
    right: 40%;
  }
}
.login-form .login-submit:hover:after {
  transform: translateY(-10px);
}
.login-form .login-submit #wp-submit {
  background: var(--secondary--orange);
  border: 2px solid var(--main--black);
  border-radius: 2rem;
  color: var(--main--black);
  font-size: var(--button);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  padding-right: 3rem;
  width: 100%;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 3px 3px 0 0 var(--main--black);
  transition: all 0.2s ease;
}
.login-form .login-submit #wp-submit:hover {
  background: var(--secondary--yellow);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 0 var(--main--black);
  cursor: pointer;
}
@media screen and (min-width: 760px) {
  .login-form .login-submit #wp-submit {
    width: auto;
  }
}
.login-form .candidati {
  text-align: center;
}
.login-form .login-after-submit-link {
  color: var(--main--white);
  font-size: var(--p-14);
  font-weight: 400;
  text-align: center;
  margin-top: 2rem;
}

/* recupera password */
.lost-password-form-wrapper,
.reset-password-form-wrapper {
  width: 100%;
}

.lost-password-form-errors,
.reset-password-form-errors {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--secondary--red);
  border-radius: 0.5rem;
  background-color: rgba(196, 59, 67, 0.5);
  box-shadow: 2px 2px 0 0 var(--secondary--red);
}
.lost-password-form-errors p,
.reset-password-form-errors p {
  margin: 0;
  font-size: var(--p-14);
  font-weight: 500;
  color: var(--basic-white);
}
.lost-password-form-errors p + p,
.reset-password-form-errors p + p {
  margin-top: 0.5rem;
}

.reset-password-form h3 {
  color: var(--main--white);
  text-align: center;
  font-family: var(--main-font);
  font-weight: 600;
  margin-bottom: 1rem;
}
.reset-password-form label {
  color: var(--main--white);
  font-size: var(--p-14);
  font-weight: 500;
}

.lost-password-form-success,
.reset-password-form-success {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid #2e7d32;
  border-radius: 0.5rem;
  background-color: rgba(46, 125, 50, 0.5);
  box-shadow: 2px 2px 0 0 #2e7d32;
}
.lost-password-form-success p,
.lost-password-form-success a,
.reset-password-form-success p,
.reset-password-form-success a {
  margin: 0;
  font-size: var(--p-14);
  font-weight: 500;
  color: var(--basic-white);
  text-align: center;
}
.lost-password-form-success a,
.reset-password-form-success a {
  text-decoration: underline;
}

.lost-password-form,
.reset-password-form {
  display: grid;
  gap: 1rem;
}
@media screen and (min-width: 760px) {
  .lost-password-form .wp-block-button__link,
  .reset-password-form .wp-block-button__link {
    width: max-content;
    justify-self: center;
  }
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}
.password-field input[type=password],
.password-field input[type=text] {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: var(--basic-white);
  color: var(--main--black);
  cursor: pointer;
  transition: all 0.2s ease;
}
.password-toggle:hover {
  background: var(--secondary--yellow);
  transform: translateY(calc(-50% - 2px));
}
.password-toggle .password-toggle-icon {
  display: inline-flex;
  line-height: 0;
}
.password-toggle .password-toggle-icon.hide {
  display: none;
}
.password-toggle.is-visible .password-toggle-icon.show {
  display: none;
}
.password-toggle.is-visible .password-toggle-icon.hide {
  display: inline-flex;
}