/* Meta box styles */
.postbox {
    background-color: #ffffff;
    border: 1px solid #f3f3f3;
    border-radius: 8px;
    box-shadow: none
}

#titlediv #title {
    padding: 10px 15px;
    font-size: 20px;
    line-height: 100%;
    height: auto;
    width: 100%;
    outline: 0;
    margin: 0 0 3px;
    background-color: #fff;
}

#titlediv #title-prompt-text {
    color: #646970;
    position: absolute;
    font-size: 1.7em;
    padding: 13px;
    pointer-events: none;
}

.postbox .inside h2,
.wrap [class$=icon32]+h2,
.wrap h1, .wrap>h2:first-child {
    font-size: 25px;
    font-weight: 600;
    margin: 0;
    padding: 8px 0;
    line-height: 1.3;
}

#poststuff .stuffbox > h3,
#poststuff h2,
#poststuff h3.hndle {
    font-size: 14px;
    padding: 16px 12px;
    margin: 0;
    line-height: 1.4;
}

.postbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f6f7f7;
    border-bottom: 1px solid #f1f1f1;
}

.postbox .inside {
    padding: 1rem;
}

.postbox .misc-pub-section {
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.postbox .misc-pub-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.postbox .major-publishing-actions {
    padding: 1rem;
    border-top: 1px solid #f3f4f6;
}

.postbox .major-publishing-actions .spinner {
    margin-top: 0.5rem;
}

.postbox .minor-publishing-actions {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.postbox .button {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    color: #374151;
    padding: 0.5rem 1rem;
    height: auto;
    line-height: 1.25rem;
    box-shadow: none;
}

.postbox .button-primary {
    background-color: #2563eb;
    border: none;
    border-radius: 0.375rem;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem !important;
    height: auto;
    line-height: 1.25rem !important;
}


/* Classic Editor */

#wp-content-editor-tools {
    background: #ffffff;
}

.wp-editor-expand #wp-content-editor-tools {
    border-bottom: 1px solid #f1f1f1;
}

.wp-editor-expand #post-status-info {
    border: 1px solid #f1f1f1;
}

.wp-editor-container {
    border: 1px solid #f1f1f1 !important;
}

.html-active .switch-html,
.tmce-active .switch-tmce {
    background: #f6f7f7;
    color: #50575e;
    border-bottom-color: #f3f3f3;
}

.wp-switch-editor {
    border: none !important;
}
