.hidden {
  display: none;
}
.form-control-checkbox {
  display: inline;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6e707e;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d1d3e2;
  border-radius: 0.35rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-squre {
  border-radius: 0rem;
}

.no-border {
  border: none;
}

/* Input Number arrow Remove */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */

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

/* Input Number arrow Remove */

/*Loader*/
/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

/* Center the spinner */
.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Fixed  text in the center */
.lms-text {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  position: absolute;
  z-index: 2;
}

/* Rotating circle around the text */
.circle {
  width: 100px;
  height: 100px;
  border: 4px solid transparent;
  border-top: 4px solid #2e93e6;
  border-radius: 50%;
  animation: spin 0.8s infinite linear;
  position: absolute;
}

/* Spinner animation */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
/*Loader*/

.table-ver-center td {
  vertical-align: middle;
}

.table-ver-top td {
  vertical-align: top;
}

/*ScrollBar*/
::-webkit-scrollbar {
  height: 5px;
  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*/

.w-10 {
  width: 20%;
}

/*Switch*/
.switch-control {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 25px;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}
/*Switch*/

/*Slider*/
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 21px;
  width: 21px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(35px);
  -ms-transform: translateX(35px);
  transform: translateX(35px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/*Slider*/

.link {
  cursor: pointer;
}

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

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

.scroll-to-top {
  bottom: 3rem;
}
.text-rainbow-animation {
  background-image: linear-gradient(
    to right,
    red,
    orange,
    yellow,
    green,
    blue,
    indigo,
    violet,
    red
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-animation 35s linear infinite;
}

@keyframes rainbow-animation {
  to {
    background-position: 10vh;
  }
}

.btn-float {
  position: fixed;
  width: 80px;
  height: 80px;
  bottom: 10px;
  right: 40px;
  border-radius: 50px;
}

.dropdown-item {
  cursor: pointer;
}

.formRefCode {
  height: 35px !important;
  border: none !important;
  padding: 0px !important;
  margin: 0px !important;
}

.accordion .card-header {
  font-weight: bold !important;
  cursor: pointer !important;
}
.text-mute {
  font-weight: 500 !important;
  color: #bdbdbd;
}

.menu-card {
  flex: 0 50%;

  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2),
    0 5px 15px 0 rgba(37, 44, 97, 0.15);
  border-radius: 15px;
  margin: 8px;
  padding: 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 200px;
  transition: 0.7s;
  cursor: pointer;
  text-decoration: none !important;
}

.menu-card:hover {
  background: #0a6654;
  color: #fff;
  transform: scale(1.1);
  z-index: 9;
}

.menu-card .card-title {
  color: #858796;
  font-size: 1.5rem;
  margin-top: 15px;
  margin-bottom: 15px;
}

.menu-card .card-icon {
  font-size: 50px;
  color: #858796;
}

.menu-card:hover .card-title {
  color: #ffffff !important;
}

.menu-card:hover .card-icon {
  color: #ffffff !important;
}

.nav-select {
  border: none;
  cursor: pointer;
}

.fs-25 {
  font-size: 25px;
}

#imgUserSignPreview {
  height: 200px;
  width: 200px;
  border: 3px solid #938a8a;
  border-radius: 10px;
}

#imgPreviewCompanyWatermark {
  max-width: 200px !important;
}

.mini-side-menu a {
  text-decoration: none !important;
  color: #8587a0;
}

.mini-side-menu .active {
  background-color: #0a6654 !important;
  border-color: #0a6654 !important;
}

.company-logo-table {
  width: 40px !important;
}

.company-empty-logo-table {
  padding-right: 45px;
}

.btn-password-shown {
  width: 50px !important;
  border-color: #d1d3e2;
}

.btn-password-shown:focus {
  box-shadow: none;
}

.fs-l {
  font-size: larger;
}

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

.quote-header-table td {
  padding-right: 20px;
  width: 100%;
}

.quote-header label {
  margin-right: 10px !important;
}

.strong {
  font-weight: bold;
}

.bg-filter {
  background-color: #dddddd5c !important;
}

.dataTable {
  width: 100% !important;
}

.reDataTable {
  width: 100% !important;
}

.other-prefix-card .input-group-text {
  width: 120px;
  font-weight: bolder;
  color: #ffffff;
}

.align-item-center {
  align-items: center !important;
}

.form-file {
  display: block;
}

.aks-file-upload-label {
  color: #858796 !important;
}

.border-bottom-2 {
  border-bottom: 2px solid #cbcdd3 !important;
}

.w-250 {
  width: 250px;
}

.bg-td-primary td {
  background-color: #29292996 !important;
  color: white;
}

/* speed test */
#speedMeter {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#speedValue {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
}

.meter-container {
  position: relative;
  width: 350px;
  height: 175px;
  border-radius: 175px 175px 0 0;
  background: linear-gradient(to top, #e9ecef, #f7f9fc);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.meter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 175px 175px 0 0;
  background: linear-gradient(to top, #4caf50, #f1c40f, #e74c3c);
  mask: radial-gradient(farthest-side at bottom, transparent 60%, black 61%);
}

.arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 90px;
  background-color: #333;
  border-radius: 3px;
  transform-origin: bottom center;
  transform: rotate(-90deg);
  /* Start at 0 Mbps */
  z-index: 2;
}

.arrow::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -7px;
  width: 20px;
  height: 20px;
  background-color: #333;
  border-radius: 50%;
}

.numbers {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 14px;
  color: #555;
}

.label {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}
/* Training Dashboard */
.icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f8f9fa;
  margin: 0 auto 15px;
}

.icon-box i {
  font-size: 1.8rem;
  color: #007bff;
}

.chart-container {
  margin-top: 30px;
}

.chart-title {
  font-weight: 600;
  margin-top: 10px;
  color: #495057;
}

/* Training Dashboard */

.training-card {
  width: 300px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
}

.traning-card-shadow {
  -webkit-box-shadow: 0px -1px 9px 1px rgba(0, 0, 0, 0.37);
  -moz-box-shadow: 0px -1px 9px 1px rgba(0, 0, 0, 0.37);
  box-shadow: 0px -1px 9px 1px rgba(0, 0, 0, 0.37);
}

.training-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.999s;
  border-radius: 15px;
}

.training-card:hover .training-card-inner {
  transform: rotateY(180deg);
}

.training-card-front,
.training-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.training-card-front {
  background-color: #ffffff;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transform: rotateY(0deg);
  border-radius: 15px;
}

.training-card-back {
  background-color: white;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
  border-radius: 15px;
}

.training-card-header {
  width: 95%;
  background-color: white;
  margin-top: 10px;
  text-align: center;
  border-radius: 150px;
  border: 2px solid #1a2035;
}

.training-card-footer {
  width: 95%;
  background-color: white;
  text-align: center;
  border-radius: 150px;
  border: 2px solid #1a2035;
}

.training-image-container img {
  max-width: 100%;
  max-height: 150px;
}

.training-card-border {
  width: 100%;
}

.categories-bar {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
}

.lms-card {
  border-radius: 0.5rem;
  background-color: #fff;
  border: 1px solid transparent;
}

.lms-card a {
  text-decoration: none;
}

.lms-content {
  padding: 1.1rem;
}

.lms-title {
  color: #111827;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.lms-desc {
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.alert-warning {
  font-size: 1rem;
  background-color: #fff3cd;
  color: #856404;
}
/* register button */
.reg-btn {
  width: 120px;
  height: 30px;
  background: linear-gradient(to top, #d24803e0, #963707, #bd6105);
  color: #fff;
  border-radius: 50px;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.reg-btn span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: top 0.5s;
}

.reg-btn-text-one {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.reg-btn-text-two {
  position: absolute;
  width: 100%;
  top: 150%;
  left: 0;
  transform: translateY(-50%);
}

.reg-btn:hover .reg-btn-text-one {
  top: -100%;
}

.reg-btn:hover .reg-btn-text-two {
  top: 50%;
}
/* login  */
/* Professional Course UI Styles */
.professional-course-container {
  padding: 2rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.course-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 2.5rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  color: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.course-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.course-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.course-stats {
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #60a5fa;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.professional-course-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1f5f9;
  position: relative;
}

.professional-course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.professional-course-card.completed {
  border-left: 5px solid #10b981;
}

.professional-course-card.in-progress {
  border-left: 5px solid #3b82f6;
}

.professional-course-card.not-started {
  border-left: 5px solid #6b7280;
}

.course-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.course-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.professional-course-card:hover .course-thumbnail {
  transform: scale(1.05);
}

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.professional-course-card:hover .course-overlay {
  opacity: 1;
}

.progress-circle-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-circle {
  transform: rotate(-90deg);
}

.progress-text {
  position: absolute;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-completed {
  background: rgba(16, 185, 129, 0.9);
  color: white;
}

.status-in-progress {
  background: rgba(59, 130, 246, 0.9);
  color: white;
}

.status-not-started {
  background: rgba(107, 114, 128, 0.9);
  color: white;
}

.course-card-body {
  padding: 2rem;
}

.course-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-description {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.course-progress-bar {
  margin-bottom: 1.5rem;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 10px;
  transition: width 0.6s ease;
}

.progress-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.course-card-footer {
  padding: 0 2rem 2rem;
}

.course-actions {
  display: flex;
  gap: 1rem;
}

.btn-primary-action {
  flex: 1;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary-action:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary-action {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  min-width: 120px;
}

.btn-secondary-action:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
  color: white;
  text-decoration: none;
}

.btn-secondary-action.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.btn-secondary-action.disabled:hover {
  transform: none;
  box-shadow: none;
  background: #e5e7eb;
}

/* Empty State */
.empty-state-professional {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 2rem 1rem;
}

.empty-illustration {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.empty-illustration i {
  font-size: 3rem;
  color: #7c3aed;
}

.empty-state-professional h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.empty-state-professional p {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-explore-courses {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-explore-courses:hover {
  background: linear-gradient(135deg, #5b21b6 0%, #4c1d95 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .professional-course-container {
    padding: 1rem 0;
  }

  .course-header {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .course-main-title {
    font-size: 2rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .course-actions {
    flex-direction: column;
  }

  .btn-secondary-action {
    min-width: auto;
  }

  .course-stats {
    margin-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .course-card-body {
    padding: 1.5rem;
  }

  .course-card-footer {
    padding: 0 1.5rem 1.5rem;
  }

  .course-title {
    font-size: 1.2rem;
  }
}

/* Dashboard Card */
.modern-chart-wrapper {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 53, 0.1);
  position: relative;
  overflow: hidden;
}

.modern-chart-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  opacity: 0.8;
}

.modern-chart-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
  transition: all 0.3s ease;
}

#barChart {
  max-width: 100%;
  height: auto;
}
