body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.alert {
    border-radius: 0.375rem;
}

h1 {
    color: #212529;
    font-weight: 300;
}

.content-textarea {
    min-height: 300px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
}

.content-textarea:focus {
    min-height: 400px;
    transition: min-height 0.3s ease;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
}

#content-field {
    transition: all 0.3s ease;
}

#url-field {
    transition: all 0.3s ease;
}

.content-editor {
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
    padding: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.content-editor:focus {
    min-height: 400px;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: 0;
    transition: min-height 0.3s ease;
}

.content-editor:empty:before {
    content: attr(data-placeholder);
    color: #6c757d;
    white-space: pre-line;
    pointer-events: none;
}

.content-editor p {
    margin: 0 0 1rem 0;
}

.content-editor h1, .content-editor h2, .content-editor h3 {
    margin: 0 0 0.5rem 0;
    font-weight: bold;
}

.content-editor ul, .content-editor ol {
    margin: 0 0 1rem 0;
    padding-left: 2rem;
}

.content-editor strong, .content-editor b {
    font-weight: bold;
}

.content-editor em, .content-editor i {
    font-style: italic;
}