:root {
  --login-primary: #0071cc;
  --login-primary-dark: #0070ccda;
  --login-light: #f8f9fa;
  --login-dark: #212529;
  --login-success: #4bb543;
  --login-error: #dc3545;
  --login-text-muted: #6c757d;
  --login-border: #e0e0e0;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
}

.main-content {
  flex: 1;
  padding-top: 30px;
}

.header-top {
  background: linear-gradient(to right, #1a3c6c, #027bf4);
  padding: 7px 0px;
}
.header-top-child {
  width: 69%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.language-select {
  background-color: #66339900;
  color: white;
  border: 1px solid #e3e9c2;
  padding: 2px 8px;
  border-radius: 8px;
  cursor: pointer;
}

.nav-div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-logo-txt {
  line-height: 0%;
  color: black;
  text-decoration: none;
}

.navbar-logoA {
  width: 35px;
}

.navbar-logoB {
  width: 218px;
}

.navbar-logoC {
  width: 85px;
}
.nav-divider {
  width: 2px;
  background-color: #e5e7eb;
  height: 40px;
}
.sidebar .nav-link {
  padding: 12px 16px;
  margin-bottom: 8px;
  font-weight: 500;
  border-radius: 8px 0px 0px 8px;
  color: #6c757d;
  transition: all 0.2s ease;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
  background-color: white;
  color: #0d6efd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.line-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 20px 0;
  margin: 0px 0px;
  overflow: hidden;
}

.dashed-line {
  width: 100%;
  height: 2px;
  border-top: 2px dashed #ccc;
  position: relative;
  z-index: 1;
}

.end-dot {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background-color: #e6f0fa;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.end-dot.left {
  left: -20px;
}

.end-dot.right {
  right: -20px;
}

.end-dotB {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background-color: #d9e9f9;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.end-dotB.left {
  left: -20px;
}

.end-dotB.right {
  right: -20px;
}

.bill-section {
  background-color: white;
  margin: 0px 0px;
  padding: 16px 24px;
  /* margin-top: -50px; */
  border-radius: 20px 20px 0px 0px;
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.08); */
}

.bill-location {
  background: #f1f1f1;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.bill-location i {
  width: 30px;
  height: 30px;
  background: #007bff;
  color: white;
  padding: 8px;
  text-align: center;
  border-radius: 50%;
}

.bill-billingp {
  margin: 0;
}
.bill-billingh6 {
  margin: 0;
}

.account-info {
  font-size: 14px;
}

.account-info b {
  font-weight: 700;
  display: block;
  font-size: 17px;
}

.supply-dates {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 4 items per row */
  gap: 10px;
  text-align: center;
}

.supply-dates div {
  padding: 6px 20px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid #007bff;
}

.bill-supply {
  background-color: white;
  margin: 0px 0px;
  padding: 16px 24px;
  border-radius: 0px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.bill-billing {
  background-color: white;
  margin: 0px 0px;
  padding: 16px 24px;
  border-radius: 0px 0px 20px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.bill-billing h2 {
  margin-bottom: 4px;
}

.bill-billing .bill-status {
  color: red;
  font-weight: 600;
  font-size: 14px;
}

.bill-billing .due-date {
  font-size: 13px;
  margin: 6px 0 12px;
  color: #555;
}

.bill-billing button {
  background: #0071cc;
  border: none;
  color: white;
  padding: 5px 19px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.skip-txt {
  display: block;
}

.card {
  border: none;
  border-radius: 15px;
  padding: 0px;
}

.guidelines li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.features-footer {
  width: 100%;
  bottom: 0;
  position: unset;
  background-color: #fff;
  padding: 24px 20px 0px 20px;
  border-top: 1px solid #dee2e6;
}

.features-footer h6 {
  font-weight: 600;
}

.nav-hide {
  display: block;
}

.nav-show {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 16px;
  font-size: 20px;
  font-weight: 700;
  height: 150px;
  border-radius: 0px 0px 20px 20px;
  position: fixed;
  display: none;
}

.guidelines-div {
  margin-bottom: 0px;
}

.nav-btn {
  background-color: #0071cc;
  color: white;
  padding: 2px 13px;
}
.nav-btn:hover {
  background-color: #0070cca1;
}
.help-icon {
  width: 45px;
  height: 45px;
  background-color: #0575e63b;
  font-size: 25px;
}
@media (max-width: 650px) {
  .help-icon {
    width: 30px;
    height: 30px;
    background-color: #0575e63b;
    font-size: 15px;
  }
  .navbar-logoC {
    display: none;
  }
  .skip-txt {
    display: none;
  }

  .navbar-logoA {
    width: 24px;
  }

  .navbar-logoB {
    width: 150px;
  }

  .nav-div {
    gap: 6px;
  }

  .nav-divider {
    height: 27px;
  }
  .nav-btn {
    font-size: 12px;
    background-color: #0071cc;
    color: white;
    padding: 4px 6px;
  }
  .nav-btn {
    background-color: #0071cc;
    color: white;
    padding: 2px 13px;
  }
  .guidelines-div {
    margin-bottom: 100px;
  }
  .nav-hide {
    display: block;
  }
  .nav-show {
    display: block;
  }
  .main-content {
    flex: 1;
    margin-top: 51px;
  }
}

@media (max-width: 992px) {
  .header-top-child {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }

  .features-footer {
    display: block;
  }
}

/* Tab Navigation */
.tab-navigation {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 90;
}

.tab-items {
  display: flex;
  justify-content: space-around;
}

.tab-item {
  padding-top: 8px;
  padding-bottom: 4px;
  text-align: center;
  flex: 1;
  text-decoration: none;
  color: #6c757d;
  font-size: 0.8rem;
}

.tab-item i {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.tab-item svg {
  display: block;
  margin: 0 auto 5px auto;
}

.tab-item.active {
  color: #0071cc;
}

@media (max-width: 650px) {
  .tab-navigation {
    display: block;
  }
}

#topHeightt2 {
  height: 130px;
}
/* @media screen and (min-width: 0px) and (max-width: 770px) {
  #topHeightt2 {
    height: 40px;
  }
} */

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  z-index: 10;
  background-color: #e3e3e3;
}

.logincontainer {
  display: flex;
  flex-direction: row;
  width: 60%;
  margin: 0 auto;
  min-height: 500px;
  border-radius: 26px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.left-section {
  display: flex;
  padding: 0px;
  flex: 1;
  background-color: #fff;
  justify-content: center;
  align-items: center;
}
.right-section {
  padding: 40px;
  flex: 1;
}

.left-section h1 {
  font-size: 28px;
  margin-bottom: 60px;
}

.sectionform {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.left-section input {
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  outline: none;
  margin: 0px;
}

/* .left-section input:focus {
  border-color: #333;
} */

.black-button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.black-button:hover {
  background-color: #333;
}

.left-section a {
  color: #000;
  text-decoration: none;
}

.left-section a:hover {
  text-decoration: underline;
}

.right-section {
  background-color: #cce7ff;
  text-align: center;
}

.right-section .logo img {
  height: 250px;
  margin: 0 auto;
}

.right-section h2 {
  font-size: 24px;
  margin: 10px 0;
}

.right-section p {
  margin-top: 40px;
  font-size: 15px;
  font-weight: 100;
  line-height: 30px;
  letter-spacing: 0.5px;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .features-footer {
    width: 100%;
    bottom: 0;
    position: unset;
    background-color: #fff;
    padding: 24px 20px 0px 20px;
    border-top: 1px solid #dee2e6;
  }

  .right-section p {
    display: none;
  }
  .logincontainer {
    flex-direction: column;
    width: 90%;
  }

  .right-section {
    padding: 20px;
    background-color: #cce7ff;
    text-align: center;
  }

  .right-section .logo img {
    height: 100px;
  }

  .right-section {
    padding: 20px 10px;
  }

  .left-section {
    padding: 20px 10px;
  }
}

.divider {
  width: 87%;
  gap: 10px;
  height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ccc;
}

.divider span {
  margin: 0 10px;
  color: #888;
  font-size: 14px;
  font-weight: bold;
}

.popup-close {
  width: 20px;
  height: 20px;
  background-color: white;
  padding: 5px;
  border-radius: 50%;
  float: right;
  margin-right: 0px;
  margin-top: 0px;
  cursor: pointer;
  padding: 8px;
  background-color: rgb(236, 236, 236);
}
.popup-close:hover {
  background-color: antiquewhite;
}

.login-container {
  width: 100%;
  margin: 2rem auto;
  padding: 0px 2rem;
  border-radius: 12px;
}

@media (max-width: 576px) {
  .login-container {
    padding: 0px;
    margin: 0px 1rem;
  }
}

.login-header {
  /* text-align: center; */
  margin-bottom: 2rem;
}

.login-header img {
  height: 50px;
  margin-bottom: 1rem;
}

.login-header h2 {
  color: var(--login-dark);
  font-weight: 700;
}

.login-header p {
  color: var(--login-text-muted);
}

.form-control {
  padding: 12px 15px;
  border-radius: 8px;
  /* border: 1px solid var(--login-border); */
  transition: all 0.3s;
}
.form-control::placeholder {
  color: #bebebe;
}

/* .form-control:focus {
  border: 1px solid var(--login-border);
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
} */

.btn-primary {
  background-color: var(--login-primary);
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-secondary {
  background-color: transparent;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid #b8b9bb;
  color: #8f8f8f;
}
.btn-secondary:hover {
  background-color: #838383;
}

.btn-primary:hover {
  background-color: var(--login-primary-dark);
}

.btn-primary:disabled {
  background-color: #cccccc;
  opacity: 0.8;
}
.btn-primary.success {
  background-color: var(--login-success);
}

.input-group-text {
  background-color: white;
}

.password-toggle {
  cursor: pointer;
  color: var(--login-text-muted);
  transition: all 0.3s;
}

.password-toggle:hover {
  color: var(--login-primary);
}

.invalid-feedback {
  display: none;
  color: var(--login-error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.is-invalid {
  border-color: var(--login-error) !important;
}

/* .is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
} */

.forgot-password {
  text-align: right;
  margin-top: 10px;
  margin-bottom: 1rem;
}

.forgot-password a {
  color: var(--login-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.forgot-password a:hover {
  color: var(--login-primary);
  text-decoration: underline;
}

.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--login-text-muted);
  font-size: 0.875rem;
}

.login-footer a {
  color: var(--login-primary);
  text-decoration: none;
  font-weight: 500;
}

.login-footer a:hover {
  text-decoration: underline;
}
.dotted-line {
  border: none;
  border-top: 2px dotted #000000;
}
