/**
 * Sikshya block editor — block chrome only (does not style course/auth markup).
 *
 * @package Sikshya
 */

.wp-block-sikshya-courses,
.wp-block-sikshya-login,
.wp-block-sikshya-registration {
  box-sizing: border-box;
  max-width: none;
}

.sikshya-block-editor-preview {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 0;
  overflow-x: auto;
  overflow-y: visible;
}

.sikshya-block-editor-preview > .components-placeholder {
  margin: 0;
  min-height: 120px;
  background: #fff;
}

.sikshya-block-editor-preview .components-spinner {
  margin: 24px auto;
  display: block;
}

/* Align wide/full blocks in the canvas */
.wp-block[data-type="sikshya/courses"].alignwide .sikshya-block-editor-preview,
.wp-block[data-type="sikshya/courses"].alignfull .sikshya-block-editor-preview {
  max-width: none;
}
