.page-content {
  min-height: 100vh;
}

.logo-img {
  max-width: 150px;
}

.dropdown-menu hr {
  margin: 2px;
}

#page-top {
  background: url(../images/background-overlay.png) no-repeat center center
    fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #edf0f4;
}

.curve-border {
  border-radius: 1.5rem;
}

.no-decoration {
  text-decoration: none;
  font-weight: bold;
}

.text-gray-300 {
  color: #dddfeb !important;
}

@media (min-width: 100px) {
  .navbar-expand-lg .navbar-inline-icons {
    flex-direction: row;
  }
  .navbar-inline-icons .nav-item {
    padding-right: 10px;
  }
}

.secondary-nav {
  z-index: 2000;
}

.curve-border .form-control {
  border-radius: 1.5rem;
}

.curve-border .btn {
  border-radius: 1.5rem;
}

.curve-border .input-group-text {
  border-radius: 1.5rem;
}

/*ScrollBar*/
.overlay {
  position: fixed;
  top: 0;
  z-index: 3000;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

.overlay-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}

.nav-curve {
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}

.hidden {
  display: none;
}

@media only screen and (min-width: 992px) {
  .navbar .navbar-nav .vertical-line {
    border-right: 1px solid #c2bdbd;
    margin-left: 20px;
    margin-right: 20px;
  }
}

/*ScrollBar*/

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
}

::-webkit-scrollbar-thumb {
  background: #6c757d;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0d6efd;
}

/*ScrollBar*/

.btn-sq {
  border-radius: 0px;
}

.vh-30 {
  height: 30vh;
}

.input-text-center {
  text-align: center;
  letter-spacing: 5px;
}

.text-strong {
  font-weight: bold;
}

.fetch-radio label {
  position: relative;
  color: #fff;
  background-color: #aaa;
  font-size: 26px;
  text-align: center;
  height: 150px;
  line-height: 150px;
  display: block;
  cursor: pointer;
  border: 3px solid transparent;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.fetchType:checked + label {
  border: 3px solid whitesmoke;
  background-color: #0d6efd;
}

.fetchType:checked + label:after {
  content: "\01F5F8";
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 100%;
  border: 2px solid whitesmoke;
  background-color: #0d6efd;
  z-index: 999;
  position: absolute;
  top: -10px;
  right: -10px;
}

.form-api-data label {
  font-weight: bold;
}

.form-api-data {
  margin: 20px;
  margin-left: 0px;
}

.form-check-input {
  cursor: pointer;
}

.overflow-scroll {
  overflow: scroll !important;
}

.netsuite-log-responce {
  text-decoration: none;
  color: #6c757d;
  cursor: pointer;
}

.notifyjs-bootstrap-base {
  padding: 5px 15px 5px 15px !important;
}

.notifyjs-bootstrap-base span {
  padding: 10px !important;
}

.w-5 {
  width: 5% !important;
}

.w-10 {
  width: 10% !important;
}

.w-15 {
  width: 15% !important;
}

.w-20 {
  width: 20% !important;
}

.w-25 {
  width: 25% !important;
}

.w-30 {
  width: 30% !important;
}

.btnCopyApiInfo {
  cursor: pointer;
}

.dropdown-item {
  cursor: pointer;
}

.div-align-middle {
  align-items: center;
}

.list-style-type-none {
  list-style-type: none;
  padding: 0px;
}

.clickable {
  cursor: pointer;
}

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
  color: rgb(68 78 94) !important;
}

g-input:focus + .form-floating-label,
.form-floating-input:not(:placeholder-shown) + .form-floating-label {
  top: -10px;
  left: 12px;
  font-size: 12px;
  color: #42526e;
  /* background: #fff; */
  padding: 0 8px;
}

.form-floating-label {
  position: absolute;
  top: 20px;
  left: 52px;
  color: #a0aec0;
  font-size: 15px;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.form-floating-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  font-size: 18px;
  transition: color 0.3s;
}

.form-floating-input:focus ~ .form-floating-icon {
  color: #42526e;
}

.password-toggle {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #a0aec0;
  font-size: 18px;
  transition: color 0.3s;
}

.password-toggle:hover {
  color: #42526e;
}

.sso-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.sso-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.sso-checkbox input {
  display: none;
}

.sso-checkbox .checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e0;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s;
  flex-shrink: 0;
}

.sso-checkbox input:checked ~ .checkmark {
  background: linear-gradient(133deg, #2d3748, #42526e);
  border-color: #2d3748;
}

.sso-checkbox input:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.c/* Fix body scrolling */
html, body {
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100vh;
}

heckbox-label {
  font-size: 14px;
  color: #4a5568;
  font-weight: 500;
}

.sso-link {
  font-size: 14px;
  color: #42526e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.sso-link:hover {
  color: #2d3748;
}

.sso-btn-primary {
  width: 100%;
  padding: 18px;
  background: linear-gradient(133deg, #2d3748, #42526e);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(45, 55, 72, 0.3);
  position: relative;
  overflow: hidden;
}

.sso-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.sso-btn-primary:hover::before {
  left: 100%;
}

.sso-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45, 55, 72, 0.4);
}

.sso-btn-primary:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.3s;
}

.sso-btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.sso-footer {
  margin-top: 40px;
}

.sso-divider {
  text-align: center;
  position: relative;
  margin-bottom: 24px;
}

.sso-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.sso-divider span {
  background: rgba(255, 255, 255, 0.98);
  padding: 0 16px;
  font-size: 12px;
  color: #a0aec0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.sso-security-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 20px;
  font-size: 11px;
  color: #4a5568;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.security-badge i {
  color: #42526e;
  font-size: 12px;
}

.sso-modal {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.sso-modal .modal-header {
  background: linear-gradient(133deg, #2d3748, #42526e);
  color: white;
  border: none;
  padding: 20px 24px;
}

.sso-modal .modal-title {
  font-weight: 600;
  font-size: 18px;
  color: white;
}

.sso-modal .modal-title i {
  margin-right: 8px;
}

.sso-modal .close {
  color: white;
  opacity: 0.8;
  text-shadow: none;
  font-size: 28px;
}

.sso-modal .close:hover {
  opacity: 1;
}

.sso-modal .modal-footer {
  border: none;
  padding: 20px 24px;
  justify-content: center;
}

.btn-modal-close {
  background: linear-gradient(133deg, #2d3748, #42526e);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 55, 72, 0.3);
  color: white;
}

.jconfirm.jconfirm-material .jconfirm-box {
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  animation: alertBounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  border: none !important;
}

@keyframes alertBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-50px);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.jconfirm.jconfirm-material .jconfirm-box .jconfirm-title-c {
  font-weight: 700 !important;
  font-size: 20px !important;
  padding: 24px 24px 16px !important;
}

.jconfirm.jconfirm-material .jconfirm-box .jconfirm-title-c i {
  margin-right: 8px;
}

.jconfirm.jconfirm-material .jconfirm-box .jconfirm-content {
  font-size: 15px !important;
  color: #4a5568 !important;
  padding: 0 24px 24px !important;
  line-height: 1.6 !important;
}

.jconfirm.jconfirm-material.jconfirm-type-red .jconfirm-box {
  border-left: 5px solid #e53e3e !important;
}

.jconfirm.jconfirm-material.jconfirm-type-red .jconfirm-title-c {
  color: #e53e3e !important;
}

.jconfirm.jconfirm-material.jconfirm-type-green .jconfirm-box {
  border-left: 5px solid #38a169 !important;
}

.jconfirm.jconfirm-material.jconfirm-type-green .jconfirm-title-c {
  color: #38a169 !important;
}

.jconfirm .jconfirm-buttons {
  padding: 0 24px 24px !important;
}

.jconfirm .btn-red {
  background: linear-gradient(133deg, #e53e3e, #c53030) !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.jconfirm .btn-red:hover {
  background: linear-gradient(133deg, #c53030, #9b2c2c) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(229, 62, 62, 0.4) !important;
}

.jconfirm .btn-green {
  background: linear-gradient(133deg, #38a169, #2f855a) !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.jconfirm .btn-green:hover {
  background: linear-gradient(133deg, #2f855a, #276749) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(56, 161, 105, 0.4) !important;
}

.jconfirm-bg {
  background: rgba(45, 55, 72, 0.8) !important;
  backdrop-filter: blur(8px) !important;
}

/* Hide number input arrows - System Wide */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.sso-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 55, 72, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-content {
  position: relative;
  width: 120px;
  height: 120px;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: rgba(255, 255, 255, 0.7);
  animation-delay: 0.2s;
}

.loader-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top-color: rgba(255, 255, 255, 0.4);
  animation-delay: 0.4s;
}

.loader-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: #fff;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    133deg,
    rgba(45, 55, 72, 0.75),
    rgba(66, 82, 110, 0.75)
  );
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.page-loader.show {
  opacity: 1;
}

.page-loader-content {
  text-align: center;
}

.loader-rings {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
}

.loader-rings .ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: rotate 1.5s linear infinite;
}

.loader-rings .ring:nth-child(2) {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-top-color: rgba(255, 255, 255, 0.7);
  animation-delay: 0.2s;
}

.loader-rings .ring:nth-child(3) {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  border-top-color: rgba(255, 255, 255, 0.4);
  animation-delay: 0.4s;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.loader-subtext {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin: 0;
}

@media (max-width: 768px) {
  .sso-card {
    padding: 36px 28px;
  }

  .sso-title {
    font-size: 24px;
  }

  .sso-content {
    max-width: 100%;
  }

  .security-badge {
    font-size: 10px;
    padding: 6px 10px;
  }
}
/* End Enterprise SSO Styles */

.active > .page-link,
.page-link.active {
  background-color: #495568;
  border-color: #4f5b71;
}

.page-link {
  color: #495568;
}
