/**
 * Gutenberg Block Editor Styles
 * @package Nuoria_Service_Booking_Appointments
 */

/* Block wrapper */
.wp-block-nuoria-service-booking-appointments-booking-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Alignment support */
.wp-block-nuoria-service-booking-appointments-booking-widget.alignwide {
    max-width: var(--wp--style--global--wide-size, 1280px);
}

.wp-block-nuoria-service-booking-appointments-booking-widget.alignfull {
    max-width: none;
}

.wp-block-nuoria-service-booking-appointments-booking-widget.alignleft {
    float: left;
    margin-right: 2em;
}

.wp-block-nuoria-service-booking-appointments-booking-widget.alignright {
    float: right;
    margin-left: 2em;
}

.wp-block-nuoria-service-booking-appointments-booking-widget.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.nuoria-service-booking-appointments-gutenberg-block-preview {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.nuoria-service-booking-appointments-gutenberg-block-preview .dashicons {
    display: inline-block;
}

/* Block placeholder styling */
.nuoria-service-booking-appointments-block-placeholder {
    cursor: move;
    user-select: none;
}

.nuoria-service-booking-appointments-block-placeholder:hover {
    border-color: #0073aa;
    background-color: #f0f8ff;
}

/* Inspector Controls Styling */
.components-panel__body .components-base-control__label {
    font-weight: 600;
    margin-bottom: 8px;
}

.components-panel__body .components-base-control__help {
    font-size: 12px;
    font-style: italic;
    color: #757575;
    margin-top: 4px;
}

/* Color Picker Container */
.components-color-picker {
    margin-top: 8px;
}

/* Block Icon in Inserter */
.editor-block-list-item-nuoria-service-booking-appointments-booking-widget .editor-block-icon {
    color: #0073aa;
}

/* Block Toolbar */
.block-editor-block-toolbar .components-toolbar-group {
    border-right: 1px solid #ddd;
}

/* Preview Message Styling */
.nuoria-service-booking-appointments-gutenberg-block-preview h3 {
    color: #1e1e1e;
}

.nuoria-service-booking-appointments-gutenberg-block-preview p {
    line-height: 1.6;
}

/* Responsive Preview */
@media (max-width: 768px) {
    .nuoria-service-booking-appointments-gutenberg-block-preview {
        padding: 15px;
    }

    .nuoria-service-booking-appointments-gutenberg-block-preview .dashicons {
        font-size: 36px !important;
        width: 36px !important;
        height: 36px !important;
    }
}