/* Tab 1 */

.inail-tab {
  border: 1px solid #d4d7d9 !important;
  border-radius: 8px !important;
  overflow: hidden; /* Ensures inner elements don’t spill outside */
}
.inail-tab .nav {
  height: 56px;
}
.inail-tab .nav li {
  height: 56px;
  padding: 0;
  margin: 0;
}
.inail-tab .nav li a {
  height: 56px;
  outline: none;
}

.inail-tab .tab-content {
  padding-top: 0;
}

.inail-tab .tab-content > .tab-pane > .form-grey {
  margin-top: 0;
}

.inail-tab .nav li a,
.inail-tab .nav li a:hover,
.inail-tab .nav li a:focus {
  border: none;
  border-radius: 0;
  margin: 0;
  /* outline: 1px solid #19191A !important;
  outline-offset: -1px !important; */
}

.inail-tab .nav li a:focus {
  border: none;
  border-radius: 0;
  margin: 0;
  outline: 1px solid #19191a !important;
  outline-offset: -1px !important;
}

.inail-tab .nav li:first-child a:focus {
  border-top-left-radius: 8px !important;
}

.inail-tab .nav li:last-child a:focus {
  border-top-right-radius: 8px !important;
}

.inail-tab .nav li a .labelTabTitle,
.inail-tab .nav li a .labelTabTitle {
  font-weight: 600;
  padding: 0 0 0 24px;
  font-size: 16px;
}

.inail-tab ul.nav > li > a {
  padding: 16px 0;
  color: #54595d !important;
  background-color: white;
  text-decoration: none;
}

.inail-tab ul.nav > li.active > a .labelTabTitle,
.inail-tab ul.nav > li.active > a {
  background-color: #f2f2f2;
  font-weight: 700 !important;
  color: #002e5f !important;
}

.inail-tab .tab-content {
  padding-bottom: 0;
}
.inail-tab .tab-content .tab-pane .form-group {
  margin-bottom: 0 !important;
}

.inail-tab .tab-content > .tab-pane > .form-grey {
  margin-top: 0;
  padding: 20px 9px !important;
}
.inail-tab-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0;
  color: #000000;
}
.inail-tab-subtitle {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: #000000;
}
.inail-tab-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: #000000;
}
/* Finish Tab 1 */
/* Tab 2 */
.inail-tab-portale {
  border: 1px solid #d4d7d9 !important;
  border-radius: 8px !important;
  overflow: hidden; /* Ensures inner elements don’t spill outside */
}
.inail-tab-portale .nav-tabs {
  border-bottom: none !important;
  height: 56px;
  width: 100%;
}
.inail-tab-portale .tab-content {
  padding: 0 !important;
}
.inail-tab-portale .form-grey {
  margin-top: 0px !important;
  overflow: auto !important;
}
.inail-tab-portale .form-group {
  margin-bottom: 0px !important;
}
.inail-tab-portale .nav-tabs > li > a {
  height: 56px;
  margin-right: 0 !important;
  padding: 16px 24px !important;
  display: inline-flex;
  align-items: center;
  background-color: #ffffff !important;
  color: #54595d !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.inail-tab-portale > .nav-tabs > li.active > a,
.inail-tab-portale > .nav-tabs > li.active > a:hover,
inail-tab-portale > .nav-tabs > li.active > a:active {
  background-color: #f2f2f2 !important;
  color: #002e5f !important;
  font-weight: 700 !important;
}

main .nav-tabs > li > a {
  text-transform: none !important;
}

.inail-tab-portale .nav li a:focus {
  border: none;
  border-radius: 0;
  margin: 0;
  outline: 1px solid #19191a !important;
  outline-offset: -1px !important;
}

.inail-tab-portale .nav li:first-child a:focus {
  border-top-left-radius: 8px !important;
}

.inail-tab-portale .nav li:first-child a[aria-expanded="false"]:focus {
  border-bottom-left-radius: 8px !important;
}

.inail-tab-portale .nav:has(li a[aria-expanded="true"]) li:first-child a:focus {
    border-bottom-left-radius: 0px !important;
  }
  
