/* Quick Floating Menu Styles */

/* Container for the quick floating menu */
.quick-floating-menu-container {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 1000;
  font-family: 'Quicksand', sans-serif;
  display: flex;
}

/* Customizer links styles */
.customizer-links {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  transition: right 0.3s ease;
}

.customizer-contain.open~.customizer-links {
  right: 320px;
}

.customizer-links .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: #333;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px 0 0 8px;
}



.customizer-links .nav-link:hover {
  background-color: #f8f8f8;
}

.customizer-links .settings {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #144e8b;
  color: white;
  border-radius: 8px;
  padding: 10px;
}

.customizer-links span {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Customizer panel styles */
.customizer-contain {
  position: fixed;
  top: 0;
  right: -320px;
  height: 100vh;
  width: 320px;
  z-index: 999;
  background-color: #fff;
  border-radius: 0;
  box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  border-left: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
}

.customizer-contain.open {
  right: 0;
  transition: all 0.3s ease;
}

/* Customizer header styles */
.customizer-header {
  padding: 15px 25px;
  border-bottom: 1px solid #efefef;
  position: relative;
}

.customizer-header h5 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 5px;
  color: #144e8b;
}

.customizer-header p {
  color: #999;
  font-size: 12px;
  margin-bottom: 10px;
}

.customizer-header .icon-close {
  position: absolute;
  right: 15px;
  top: 15px;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
}

.customizer-header .icon-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333;
}

.customizer-header .config-btn {
  background-color: #144e8b;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.customizer-header .config-btn:hover {
  background-color: #0d3b6a;
}

/* Customizer body styles */
.customizer-body {
  padding: 15px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Module list styles */
.quick-nav-module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.quick-nav-module-list .module-list-item {
  margin-bottom: 0;
}

.quick-nav-module-list .module-card {
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.quick-nav-module-list .module-card:hover {
  background-color: rgba(20, 78, 139, 0.05);
  border-left-color: #144e8b;
}

.quick-nav-module-list .module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin-right: 10px;
  color: white;
  flex-shrink: 0;
}

.quick-nav-module-list .module-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.quick-nav-module-list .module-title,
.quick-nav-module-list .module-name {
  font-weight: 600;
  font-size: 13px;
  color: #333;
  text-decoration: none;
}

/* Module description removed */

/* Tab pane styles */
.tab-pane {
  display: none;
}

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

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .customizer-contain {
    width: 280px;
    right: -280px;
    max-height: 90vh;
  }

  .customizer-contain.open {
    right: 0;
  }

  .customizer-contain.open~.customizer-links {
    right: 280px;
  }

  .quick-floating-menu-container {
    right: 0;
  }

  .customizer-header {
    padding: 12px 20px;
  }

  .customizer-body {
    padding: 12px 20px;
  }
}