.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #334155;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Статья */
.article-panel {
    background: white;
    padding: 1rem;
}

.article-title {
    margin-bottom: 2rem;
    border-bottom: 2px solid #b2b8c0;
}

.article-title-input {
    font-weight: bold;
    width: 100%;
    padding: 0.5rem;
    margin: 0 0 1rem 0;
    border: 2px solid #b2b8c0;
    border-radius: 6px;
    font-family: inherit;
}

.article-title-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.article-content {
    color: #1e293b;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-content-textarea {
    width: 100%;
    height: calc(80dvh - 160px);
    padding: 1rem;
    border: 2px solid #b2b8c0;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', monospace;
    resize: vertical;
    overflow: hidden;
}

.article-content-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    overflow: auto;
}

/* Панель предпросмотра */
.live-preview-panel {
    margin-top: 1rem;
    padding: 1rem;
    background: #b2b8c0;
    border-radius: 6px;
}

.live-preview {
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #b2b8c0;
    border-radius: 6px;
}

.preview-content {
    color: #1e293b;
}
