/* Add your custom styles here */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* Select2 Styling for Fixed Items */


.select2-container .select2-selection--single {
  height: 35px !important;
  border-radius: 30px !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}

.select2-container .select2-selection__rendered {
  line-height: 35px !important;
  padding-left: 18px !important;
  padding-right: 50px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
}

.select2-container .select2-selection__arrow {
  height: 35px !important;
  right: 16px !important;
  width: 20px !important;
}

.select2-container .select2-selection__arrow b {
  display: none !important;
}

.clr-field .clr-open-label,
.clr-field input.coloris,
.color-control button,
.color-control .coloris {
	opacity: 0;
}
.clr-field {
  width: 100%;
}
.clr-field input.coloris {
  cursor: pointer;
}
/* Back to Front Page button */
#back-to-frontpage-toggle {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 1024;
}

#back-to-frontpage-toggle .back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

#back-to-frontpage-toggle .back-button:hover,
#back-to-frontpage-toggle .back-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background: #333;
}

#back-to-frontpage-toggle .back-button:hover svg,
#back-to-frontpage-toggle .back-button:focus svg {
  stroke: #ffffff;
}

#back-to-frontpage-toggle .back-button svg {
  transition: all 0.3s ease;
  stroke: #333;
}
/* Toggle button */
#color-control-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999999;
}

#color-control-toggle .toggle-button {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid #f26212;
  box-shadow: 0 4px 12px rgba(242, 98, 18, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#color-control-toggle .toggle-button:hover,
#color-control-toggle .toggle-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(242, 98, 18, 0.2);
  background: #f26212;
}

#color-control-toggle .toggle-button:hover svg,
#color-control-toggle .toggle-button:focus svg {
  stroke: #ffffff;
}

#color-control-toggle .toggle-button svg {
  transition: all 0.3s ease;
  stroke: #f26212;
}

/* Panel */
#elementor-color-control-panel * {
  font-family: "Archivo", sans-serif;
}
#elementor-color-control-panel {
  position: fixed;
  bottom: 80px;
  right: 80px;
  background: #ffffff;
  width: 300px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  z-index: 1111;
  transform-origin: bottom right;
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.clr-picker.clr-polaroid {
	z-index: 1112;
}
#elementor-color-control-panel.active {
  transform: scale(1);
  opacity: 1;
}

#elementor-color-control-panel .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
}

#elementor-color-control-panel .panel-header h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

#elementor-color-control-panel .panel-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#elementor-color-control-panel .copy-url-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease;
  position: relative;
}

#elementor-color-control-panel .copy-url-btn:hover {
  background: #e8e8e8;
  border-color: #ccc;
}

#elementor-color-control-panel .copy-url-btn.copied {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

#elementor-color-control-panel .copy-url-btn .copy-label {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#elementor-color-control-panel .copy-url-btn svg {
  flex-shrink: 0;
}

#elementor-color-control-panel .copy-url-btn .copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 10;
}

#elementor-color-control-panel .copy-url-btn .copy-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}

#elementor-color-control-panel .copy-url-btn.show-tooltip .copy-tooltip {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 480px) {
  #elementor-color-control-panel .copy-url-btn {
    padding: 6px;
  }
}
#elementor-color-control-panel .close-panel {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

#elementor-color-control-panel .close-panel:hover {
  color: #333;
  background-color: transparent;
}

#elementor-color-control-panel .color-controls {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-transform: capitalize;
}

#elementor-color-control-panel .color-controls h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

#elementor-color-control-panel .color-control {
  position: relative;
  height: 40px;
  background: #f8f9fa;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

#elementor-color-control-panel .color-control:hover {
  border-color: #fbae85;
}

#elementor-color-control-panel .color-control label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 500;
  color: #333;
  pointer-events: none;
  z-index: 2;
}

#elementor-color-control-panel .color-control input[type="color"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
}

#elementor-color-control-panel .color-preview {
  position: absolute;
  top: 3px;
  right: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  pointer-events: none;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#elementor-color-control-panel .control-actions {
  display: flex;
  gap: 10px;
  padding: 20px 20px 20px;
  flex-wrap: wrap;
}

#elementor-color-control-panel .control-actions button {
  padding: 4px 16px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

#elementor-color-control-panel .download-btn {
  background-color: #333;
  width: calc((100% - 10px) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  transition: all 0.2s ease;
}

#elementor-color-control-panel .download-btn:hover {
  background-color: #555;
  transform: translateY(-1px);
}

#elementor-color-control-panel .download-btn span {
  font-size: 12px;
  font-weight: 500;
}

#elementor-color-control-panel .site-export-btn {
  background-color: #f26212;
}

#elementor-color-control-panel .site-export-btn:hover {
  background-color: #e55a0f;
}

#elementor-color-control-panel .download-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

#elementor-color-control-panel .download-btn:disabled:hover {
  background-color: #333 !important;
}

#elementor-color-control-panel .site-export-btn:disabled:hover {
  background-color: #f26212 !important;
}

/* Responsive cho mobile */
@media (max-width: 480px) {
  #elementor-color-control-panel .control-actions {
    flex-direction: column;
  }

  #elementor-color-control-panel .download-btn {
    width: 100%;
    margin-bottom: 10px;
  }

  #elementor-color-control-panel .download-btn:last-child {
    margin-bottom: 0;
  }
  #back-to-frontpage-toggle {
    bottom: 125px;
  }
  #color-control-toggle {
    bottom: 65px;
  }
  #elementor-color-control-panel {
    bottom: 120px;
    right: 30px;
    width: 270px;
  }
}

#elementor-color-control-panel .save-btn {
  background: #f26212;
  color: white;
  width: calc((100% - 10px) / 2);
}

#elementor-color-control-panel .reset-btn {
  background-color: #f5f5f5;
  color: black;
  width: calc((100% - 10px) / 2);
}

/* Loading state */
#elementor-color-control-panel .saving .save-btn {
  background: #28a745;
  pointer-events: none;
}

/* Font controls */
#elementor-color-control-panel .font-control {
  position: relative;
  height: 40px;
  background: #f8f9fa;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  margin-bottom: 10px;
}

#elementor-color-control-panel .font-control:hover {
  border-color: #f26212;
}

#elementor-color-control-panel .font-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 15px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#elementor-color-control-panel .font-select option {
  background: #fff;
  color: #333;
  padding: 10px;
}

#elementor-color-control-panel .font-select:focus {
  outline: none;
}

#elementor-color-control-panel .font-control::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  font-size: 12px;
  color: #666;
  pointer-events: none;
}

/* Panel tabs */
#elementor-color-control-panel .panel-tabs {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
  /* justify-content: space-between; */
}

#elementor-color-control-panel .tab-button {
  padding: 10px 10px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

#elementor-color-control-panel .tab-button:hover,
#elementor-color-control-panel .tab-button:active,
#elementor-color-control-panel .tab-button:focus {
  color: #333;
  background-color: transparent !important;
}

#elementor-color-control-panel .tab-button.active {
  color: #f26212;
}

#elementor-color-control-panel .tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f26212;
}

#elementor-color-control-panel .tab-content {
  position: relative;
}

#elementor-color-control-panel .tab-pane {
  display: none;
}

#elementor-color-control-panel .tab-pane.active {
  display: block;
}

/* Preset controls */
#elementor-color-control-panel .preset-controls {
  padding: 20px;
}

#elementor-color-control-panel .preset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

#elementor-color-control-panel .preset-item {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

#elementor-color-control-panel .preset-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#elementor-color-control-panel .preset-preview {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#elementor-color-control-panel .preset-name {
  color: white;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
}
/* Edit content tab */
#elementor-color-control-panel .edit-content-controls {
  padding: 20px;
}

/* Testimonials clickable styling */
.jet-testimonials__comment,
.jet-testimonials__name,
.jet-testimonials__position {
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
  padding: 2px;
}

/* .jet-testimonials__comment:hover,
.jet-testimonials__name:hover,
.jet-testimonials__position:hover {
  background: rgba(242, 98, 18, 0.1);
  outline: 1px dashed #f26212;
} */

/* Highlight styling */
.mac-highlight-text {
  border: 2px solid #f26212 !important;
  background: #fffbe6 !important;
  padding: 2px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

.mac-highlight {
  background: #fffbe6 !important;
  border: 2px solid #f26212 !important;
  transition: all 0.2s ease !important;
}

/* Edit content field styling */
.edit-content-field {
  margin-bottom: 15px;
}

.edit-content-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.edit-content-input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-family: 'Archivo', sans-serif;
  resize: vertical;
  min-height: 60px;
  transition: all 0.2s ease;
}

.edit-content-input:focus {
  outline: none;
  border-color: #f26212;
  box-shadow: 0 0 0 3px rgba(242, 98, 18, 0.1);
}

.edit-content-input.mac-highlight {
  background: #fffbe6;
  border-color: #f26212;
}

/* Ẩn các element khi chưa đăng nhập */
#elementor-color-control-panel[data-logged-in="0"] .logged-in-only {
  display: none !important;
}