/**
 * BW Admin Note - Admin Styles
 */

/* Settings page styles */
.bw-admin-note-settings-wrap {
    max-width: 800px;
}

.bw-admin-note-post-type-option {
    display: block;
    margin-bottom: 8px;
}

.bw-admin-note-post-type-option input[type="checkbox"] {
    margin-right: 8px;
}

/* Gutenberg editor styles */
.bw-admin-note-display {
    animation: bw-admin-note-fadein 0.3s ease-in-out;
}

@keyframes bw-admin-note-fadein {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar panel styles */
.bw-admin-note-textarea textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
}

.bw-admin-note-help {
    margin-top: 8px;
    font-size: 12px;
    color: #757575;
    font-style: italic;
}

/* Make the note display responsive */
@media (max-width: 782px) {
    .bw-admin-note-display {
        padding: 12px 16px;
    }

    .bw-admin-note-display .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
}

/* Classic editor support (if needed in future) */
.bw-admin-note-metabox-content {
    padding: 10px 0;
}

.bw-admin-note-metabox-content textarea {
    width: 100%;
    min-height: 100px;
    font-size: 14px;
    line-height: 1.5;
}

.bw-admin-note-metabox-preview {
    margin-top: 15px;
    padding: 12px 15px;
    background: #fff8e5;
    border-left: 4px solid #f0b849;
    border-radius: 2px;
}

.bw-admin-note-metabox-preview h4 {
    margin: 0 0 8px 0;
    color: #6e4b00;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bw-admin-note-metabox-preview p {
    margin: 0;
    color: #1e1e1e;
    white-space: pre-wrap;
}
