
/* =================================== */
/* === STYLES FOR CREATE POST PAGE === */
/* =================================== */

.editor-body {
    background-color: #121221;
}

.editor-header {
    background-color: #1a1a2a;
    border-bottom: 1px solid #333;
}
.editor-header .navbar-brand {
    color: #fff;
    font-weight: 500;
}
.editor-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.editor-main-panel {
    background-color: #1a1a2a;
    border-radius: 8px;
    padding: 2rem;
}

.editor-title-input {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    width: 100%;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}
.editor-title-input:focus {
    outline: none;
    box-shadow: none;
}
.editor-title-input::placeholder {
    color: #555;
}

.editor-toolbar {
    background-color: #2a2a3a;
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}
.btn-toolbar {
    background-color: transparent;
    color: #ccc;
    border: none;
    font-size: 1.2rem;
}
.btn-toolbar:hover {
    background-color: #3a3a4a;
    color: #fff;
}
.toolbar-divider {
    width: 1px;
    background-color: #444;
    margin: 0 0.5rem;
}

.editor-content-area {
    min-height: 60vh;
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.7;
    outline: none;
}
.editor-content-area:empty:before {
    content: "Bắt đầu viết kiệt tác của bạn...";
    color: #555;
    cursor: text;
}

/* Sidebar */
.editor-sidebar {
    position: sticky;
    top: 90px;
}
.sidebar-card {
    background-color: #1a1a2a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.sidebar-card-title {
    color: #fff;
    font-weight: 500;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.75rem;
}

.btn-publish {
    background-color: #e0a836;
    color: #111;
    font-weight: bold;
    border: none;
}
.sidebar-card .form-control {
    background-color: #2a2a3a;
    border-color: #444;
    color: #fff;
}
.featured-image-uploader {
    background-color: #2a2a3a;
    border: 2px dashed #444;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}
.featured-image-uploader:hover {
    border-color: #e0a836;
    color: #e0a836;
}
.featured-image-uploader i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}
/* =================================== */
/* === STYLES FOR ANALYSIS WIDGET === */
/* =================================== */
.analysis-checklist {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.check-item i {
    font-size: 1.25rem;
    margin-top: 2px;
}
.check-item strong {
    color: #fff;
    display: block;
}
.check-item span {
    color: #aaa;
    font-size: 0.9rem;
}

/* Status Colors */
.check-item.success i { color: #198754; }
.check-item.warning i { color: #ffc107; }
.check-item.error i { color: #dc3545; }
.check-item:not(.success):not(.warning):not(.error) i { color: #555; }
