.wp-header-end {
    margin: 30px 0 0;
}
/* === Title Input Box === */
#title {
    font-size: 1.5rem!important;
    padding: 16px!important;
    border-radius: 8px;
    border: unset;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 15px!important;
    height: unset!important;
}

/* === Meta Boxes General Styling === */
.postbox {
    background-color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.postbox h2.hndle {
    font-size: 1.1rem!important;
    padding: 10px 15px 10px 0!important;
    border-radius: 6px 6px 0 0;
    cursor: pointer!important;
}

/* === Publish Box (Right Side) === */
#submitdiv {
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    background-color: #f9f9f9;
}

#submitdiv h3 {
    background-color: #f1f1f1;
    padding: 10px 15px;
    font-size: 1rem;
}

#submitdiv .inside {
    padding: 15px;
}

#publishing-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#publishing-action input[type="submit"] {
    font-size: 1rem;
    padding: 10px 25px;
    border-radius: 6px;
    border: none;
    background-color: #0073aa;
    color: #fff;
    cursor: pointer;
}
#major-publishing-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    flex-direction: column-reverse;
    gap: 1rem;
}
#major-publishing-actions > *,
#major-publishing-actions > * > * {
    width: 100%;
    position: relative;
    text-align: center;
}
#major-publishing-actions .spinner {
    position: absolute;
    z-index: 9;
    background: unset;
    margin: unset;
    display: unset;
}
a#post-preview {
    width: 100%;
    padding: 5px 15px;
    border-radius: 6px;
}

#minor-publishing-actions {
    margin-bottom: 10px;
}

/* === Categories / Tags Boxes === */
#categorydiv,
#tagsdiv-post_tag {
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    background-color: #fff;
}

#categorydiv h3,
#tagsdiv-post_tag h3 {
    background-color: #f5f5f5;
    padding: 10px 15px;
    font-size: 1rem;
}

#categorychecklist li label,
#tagchecklist span a {
    font-size: 0.95rem;
}

#tag-input {
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.95rem;
}
.inside:has(.categorydiv) {
    padding: 0;
}

ul.category-tabs li.tabs, input#formipay-product-category-add-submit {
    border: 1px solid #0073aa;
    background-color: white;
    border-radius: 5px;
    padding: 8px 15px;
}
ul.category-tabs li.tabs a{
    color: #0073aa!important;
    outline: unset;
    border: unset;
    box-shadow: unset;
}
ul.category-tabs li.tabs a:focus,
ul.category-tabs li.tabs a:active {
    outline: unset;
    border: unset;
    box-shadow: unset;
}
.categorydiv .tabs-panel {
    border: unset!important;
}

/* === WYSIWYG Editor (TinyMCE) === */
.mce-container {
    border-radius: 8px !important;
    overflow: hidden;
}

.mce-toolbar-grp {
    background-color: #f5f5f5 !important;
    border-bottom: 1px solid #ddd !important;
}