.aiomatic-frontend-express {
    max-width: 1300px;
    margin: 40px auto;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #1d2327;
}

.aiomatic-frontend-express .wp-heading-inline {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.aiomatic-frontend-express h1.wp-heading-inline{
    font-size:28px;
    font-weight:600;
    margin-bottom:25px;
}

.aiomatic-frontend-express .top_heading{
    font-size:16px;
    letter-spacing:.2px;
    color:#1d2327;
}

.aiomatic-frontend-express hr {
    border: none;
    border-top: 1px solid #dcdcde;
    margin: 20px 0;
}

.aiomatic-frontend-express #post-body{
    display:grid;
    grid-template-columns: minmax(0, 3fr) 340px;
    gap:30px;
}

.aiomatic-frontend-express #post-body-content {
    flex: 3;
}

.aiomatic-frontend-express #postbox-container-1{
    position:sticky;
    top:40px;
}

@media (max-width: 900px) {
    .aiomatic-frontend-express #post-body {
        flex-direction: column;
    }
}

.aiomatic-frontend-express .postbox{
    background:#fff;
    border:none;
    border-radius:10px;
    margin-top:15px;
    box-shadow:
        0 1px 2px rgba(0,0,0,.05),
        0 8px 24px rgba(0,0,0,.04);
}

.aiomatic-frontend-express .postbox-header {
    padding: 12px 16px;
    border-bottom: 1px solid #ccd0d4;
    font-weight: 600;
    background: #f6f7f7;
    border-radius: 10px 10px 0px 0px;
}

.aiomatic-frontend-express .inside {
    padding: 16px;
}

.aiomatic-frontend-express .submitbox {
    padding: 10px 0;
}

.aiomatic-frontend-express #major-publishing-actions {
    padding-top: 10px;
}

.aiomatic-frontend-express .button,
.aiomatic-frontend-express button,
.aiomatic-frontend-express input[type="button"],
.aiomatic-frontend-express input[type="submit"] {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #2271b1;
    background: #f6f7f7;
    cursor: pointer;
    transition: all .15s ease;
}

.aiomatic-frontend-express .button:hover {
    background: #f0f0f1;
}

.aiomatic-frontend-express .aimogen-button-primary{
    background:#2271b1!important;
    color:#fff;
    border:none;
    padding:8px 16px;
    font-weight:500;
    transition:.15s;
    width: 100%;
}

.aiomatic-frontend-express .aimogen-button-primary:hover{
    background:#135e96!important;
    transform:translateY(-1px);
}
.aiomatic-frontend-express .aimogen-button-primary:disabled,
.aiomatic-frontend-express .aimogen-button-primary.disabled,
.aiomatic-frontend-express .aimogen-button-primary[disabled],
.aiomatic-frontend-express .aimogen-button-primary[aria-disabled="true"]{

    background:#dcdcde !important;
    color:#8c8f94 !important;
    border:none;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;
    opacity:.7;
}
.aiomatic-frontend-express .aimogen-button-primary.loading{
    pointer-events:none;
    opacity:.75;
}

.aiomatic-frontend-express .aimogen-button-primary:disabled:hover,
.aiomatic-frontend-express .aimogen-button-primary.disabled:hover,
.aiomatic-frontend-express .aimogen-button-primary[disabled]:hover{
    background:#dcdcde !important;
    transform:none;
}

.aiomatic-frontend-express .aimogen-button-primary {
   border-radius: 6px;
   padding: 8px 20px;
   font-weight: 600;
   letter-spacing: 0;
   text-transform: none;
   box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}
.aiomatic-frontend-express input[type="text"],
.aiomatic-frontend-express input[type="number"],
.aiomatic-frontend-express input[type="datetime-local"],
.aiomatic-frontend-express textarea,
.aiomatic-frontend-express select {
    width: 100%;
    max-width: 100%;
    padding: 6px 8px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.aiomatic-frontend-express textarea {
    min-height: 90px;
    resize: vertical;
}

.aiomatic-frontend-express .aiomatic-minor-publishing-actions{
    margin-bottom:18px;
}

.aiomatic-frontend-express textarea{
    margin-top:8px;
}

.aiomatic-frontend-express select,
.aiomatic-frontend-express input{
    margin-top:6px;
}

.aiomatic-frontend-express .aiomatic-middle {
    margin-bottom: 12px;
}

.aiomatic-frontend-express table {
    width: 100%;
    border-collapse: collapse;
}

.aiomatic-frontend-express th,
.aiomatic-frontend-express td {
    padding: 8px;
    border-bottom: 1px solid #e2e4e7;
}

.aiomatic-frontend-express th {
    text-align: left;
    font-weight: 600;
}

.aiomatic-frontend-express .notice {
    padding: 12px;
    border-left: 4px solid;
    margin-bottom: 20px;
}

.aiomatic-frontend-express .notice-error {
    background: #fff1f1;
    border-color: #d63638;
}

.aiomatic-frontend-express .cr_red {
    color: #b32d2e;
}

.aiomatic-frontend-express .wp-editor-wrap{
    border-radius:8px;
    overflow:hidden;
    border:1px solid #ccd0d4;
}

.aiomatic-frontend-express #aiomatic-preview-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.aiomatic-frontend-express .cr_none {
    display: none;
}

.aiomatic-frontend-express .cr_right {
    float: right;
}

.aiomatic-frontend-express .cr_center {
    text-align: center;
}

.aiomatic-frontend-express .clear {
    clear: both;
}

.aiomatic-frontend-express .spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #ccc;
    border-top-color: #2271b1;
    border-radius: 50%;
    display: inline-block;
    animation: aiomatic-spin .8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes aiomatic-spin {
    to { transform: rotate(360deg); }
}

.aiomatic-frontend-express .tool {
    cursor: help;
}

.aiomatic-frontend-express .wp-editor-container textarea {
    width: 100%;
}

.aiomatic-frontend-express .embedtool iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: none;
}

@media (max-width: 600px) {

    .aiomatic-frontend-express .button,
    .aiomatic-frontend-express input[type="submit"] {
        width: 100%;
        margin-bottom: 8px;
    }
}
.aiomatic-app{
    background:#f0f2f5;
    padding:30px;
    border-radius:10px;
}
.aiomatic-frontend-express #titlediv,
.aiomatic-frontend-express #gendiv,
.aiomatic-frontend-express #excdiv,
.aiomatic-frontend-express #publishdiv{
    margin-bottom:28px;
}
.cr_display_none
{
    display: none;
}

.tool::before,
.tool::after {
    left: 50%;
    opacity: 0;
    position: absolute;
    z-index: -100;
}
.tool:hover::before,
.tool:focus::before,
.tool:hover::after,
.tool:focus::after {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 100; 
}
.tool::before {
    border-style: solid;
    border-width: 1em 0.75em 0 0.75em;
    border-color: #3E474F transparent transparent transparent;
    bottom: 100%;
    content: "";
    margin-left: -0.5em;
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26), opacity .65s .5s;
    transform:  scale(.6) translateY(-90%);
} 
.tool:hover::before,
.tool:focus::before {
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
}
.tool::after {
    background: #3E474F;
    border-radius: .25em;
    bottom: 180%;
    color: #EDEFF0;
    content: attr(data-tip);
    margin-left: -8.75em;
    padding: 1em;
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
    transform:  scale(.6) translateY(50%);  
    width: 17.5em;
}
.tool:hover::after,
.tool:focus::after  {
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26);
}
@media (max-width: 760px) {
  .tool::after { 
        font-size: .75em;
        margin-left: -5em;
        width: 10em; 
  }
}
@media (max-width: 1200px){

    .aiomatic-frontend-express #post-body{
        grid-template-columns: 1fr;
    }

    .aiomatic-frontend-express #postbox-container-1{
        position:relative;
        top:auto;
        width:100%;
    }

    .aiomatic-frontend-express .postbox{
        margin-bottom:24px;
    }
}
@media (max-width: 768px){

    .aiomatic-app{
        padding:18px;
    }

    .aiomatic-frontend-express{
        margin:20px auto;
    }

    .aiomatic-frontend-express h1.wp-heading-inline{
        font-size:22px;
    }

    .aiomatic-frontend-express .top_heading{
        font-size:15px;
    }

    .aiomatic-frontend-express textarea{
        min-height:110px;
    }

    .aiomatic-frontend-express select,
    .aiomatic-frontend-express input{
        font-size:16px; 
    }

}
@media (max-width: 480px){

    .aiomatic-frontend-express .button,
    .aiomatic-frontend-express .button-primary,
    .aiomatic-frontend-express input[type="button"],
    .aiomatic-frontend-express input[type="submit"]{
        width:100%;
        margin-bottom:10px;
    }

    .aiomatic-frontend-express .aiomatic-minor-publishing-actions{
        display:flex;
        flex-direction:column;
        gap:10px;
    }

    .aiomatic-frontend-express table{
        display:block;
        overflow-x:auto;
    }

    .aiomatic-frontend-express .wp-editor-wrap{
        overflow:hidden;
    }

}
@media (max-width:768px){

    .aiomatic-frontend-express .wp-editor-container iframe{
        min-height:300px;
    }

}
@media (max-width:768px){

    .media-modal{
        width:100% !important;
        height:100% !important;
        top:0 !important;
        left:0 !important;
        margin:0 !important;
    }

}