/**
 * Dice Events — block editor styles
 *
 * Loaded only in the block editor (editor_style).
 * Covers: block placeholder, inspector typography overrides, tag row layout.
 */

/* ============================================================
   Block placeholder (shown in the editor instead of live widget)
   ============================================================ */

.dice-events-placeholder {
	border: 2px dashed #c4b5fd;
	border-radius: 6px;
	padding: 28px 24px;
	background: #faf5ff;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100px;
	box-sizing: border-box;
}

.dice-events-placeholder__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 480px;
}

.dice-events-placeholder__icon .dashicons {
	font-size: 40px;
	width:  40px;
	height: 40px;
	/* Dice brand red */
	color: #d40e4a;
}

.dice-events-placeholder__text {
	display:        flex;
	flex-direction: column;
	gap:            6px;
}

.dice-events-placeholder__text strong {
	font-size:   16px;
	font-weight: 600;
	color:       #1e1e1e;
	display:     block;
}

.dice-events-placeholder__text span {
	font-size: 13px;
	color:     #555d6e;
	display:   block;
}

.dice-events-placeholder__hint {
	font-size:  12px;
	color:      #8c8f94;
	font-style: italic;
}

/* ============================================================
   Inspector panel — shared label / help typography
   ============================================================ */

.dice-inspector-label {
	font-size:      11px;
	font-weight:    600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color:          #1e1e1e;
	margin:         0 0 4px;
}

.dice-inspector-help {
	font-size:   12px;
	color:       #757575;
	margin:      0 0 12px;
	line-height: 1.5;
}

/* ============================================================
   Colour picker section
   ============================================================ */

.dice-colour-picker-wrap {
	margin-bottom: 8px;
}

.dice-colour-picker-wrap .components-color-picker {
	padding: 0;
}

/* ============================================================
   Filter tag repeater
   ============================================================ */

.dice-filter-tags {
	margin-bottom: 4px;
}

.dice-tag-row {
	display:     flex;
	align-items: center;
	gap:         8px;
	margin-bottom: 8px;
}

/* Make the text control flex-grow so the Remove button stays right-aligned */
.dice-tag-row .components-base-control {
	flex:          1;
	margin-bottom: 0;
}

.dice-tag-row .components-base-control__field {
	margin-bottom: 0;
}
