/*!***********************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/preview/style.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************/
/**
 * Preview Styles
 * 
 * @package TopBuddy
 */
.topbuddy-preview-wrapper {
  margin-bottom: 20px;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}
.topbuddy-preview-label {
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #c3c4c7;
  font-size: 13px;
  color: #1d2327;
}
.topbuddy-preview-label strong {
  font-weight: 600;
}
.topbuddy-notification-bar-preview {
  padding: 20px;
  background: #f0f0f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.topbuddy-notification-bar-preview .topbuddy-notification-bar {
  width: 100%;
  max-width: 100%;
  position: relative;
}
.topbuddy-preview-empty {
  padding: 20px;
  text-align: center;
  color: #646970;
  font-size: 13px;
  font-style: italic;
}
.topbuddy-preview-sortable-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: grab;
}
.topbuddy-preview-sortable-item:active {
  cursor: grabbing;
}
.topbuddy-preview-sortable-item:has(.topbuddy-notification-bar-grow) {
  flex-grow: 1;
}
.topbuddy-preview-sortable-item.is-dragging {
  z-index: 999;
  cursor: grabbing;
}
.topbuddy-preview-sortable-item.is-expanded .topbuddy-preview-sortable-item__component::after {
  border-color: #2271b1;
  border-style: solid;
}
.topbuddy-preview-sortable-item:hover .topbuddy-preview-sortable-item__actions {
  opacity: 1;
}
.topbuddy-preview-sortable-item__actions {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}
.topbuddy-preview-sortable-item__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.topbuddy-preview-sortable-item__action .dashicons {
  width: 16px;
  height: 16px;
  font-size: 16px;
}
.topbuddy-preview-sortable-item__action--edit {
  background: rgba(34, 113, 177, 0.9);
  color: #fff;
}
.topbuddy-preview-sortable-item__action--edit:hover {
  background: #2271b1;
}
.topbuddy-preview-sortable-item__action--delete {
  background: rgba(214, 54, 56, 0.9);
  color: #fff;
}
.topbuddy-preview-sortable-item__action--delete:hover {
  background: #d63638;
}
.topbuddy-preview-sortable-item__component {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.topbuddy-preview-sortable-item__component:hover::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px dashed #2271b1;
  border-radius: 3px;
  pointer-events: none;
}
.topbuddy-preview-add-component {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.topbuddy-preview-add-component .topbuddy-add-component__dropdown {
  bottom: auto;
  top: 100%;
  margin-top: 8px;
  margin-bottom: 0;
}
.topbuddy-template-library {
  padding: 20px;
}
.topbuddy-template-library-header {
  margin-bottom: 24px;
}
.topbuddy-template-library-header h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1d2327;
}
.topbuddy-template-library-header .description {
  margin: 0;
  color: #646970;
  font-size: 13px;
}
.topbuddy-template-library-loading,
.topbuddy-template-library-error,
.topbuddy-template-library-empty {
  padding: 40px 20px;
  text-align: center;
  color: #646970;
}
.topbuddy-template-library-loading .components-spinner,
.topbuddy-template-library-error .components-spinner,
.topbuddy-template-library-empty .components-spinner {
  margin: 0 auto 16px;
}
.topbuddy-template-library-loading p,
.topbuddy-template-library-error p,
.topbuddy-template-library-empty p {
  margin: 0 0 16px 0;
}
.topbuddy-template-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.topbuddy-template-card {
  border: 1px solid #dcdcde;
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.topbuddy-template-card:hover {
  border-color: #2271b1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.topbuddy-template-card-preview {
  aspect-ratio: 16/9;
  background: #f0f0f1;
  position: relative;
  overflow: hidden;
}
.topbuddy-template-card-preview img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.topbuddy-template-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f1 0%, #e0e0e1 100%);
  color: #8c8f94;
}
.topbuddy-template-card-placeholder .dashicons {
  font-size: 48px;
  width: 48px;
  height: 48px;
}
.topbuddy-template-card-content {
  padding: 16px;
  flex: 1;
}
.topbuddy-template-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1d2327;
  line-height: 1.4;
}
.topbuddy-template-card-actions {
  padding: 0 16px 16px;
  border-top: 1px solid #f0f0f1;
  padding-top: 16px;
}
.topbuddy-template-card-actions .components-button {
  width: 100%;
  justify-content: center;
}

/*# sourceMappingURL=style-preview.css.map*/