/* Tameecom AuthorGate unified project stylesheet v108. Consolidated from all plugin CSS assets and PHP CSS declarations. */

/*
 * Tameecom AuthorGate — Author Profile & Topbar
 * File version: 3
 * Package baseline: v81
 * Scoped styles for BDC_Authors-linked authors only.
 */

/* Author-only login/logout bar: never affects unrelated site sections. */
.container-topbar.tameecom-author-gate-topbar,
.tameecom-author-gate-topbar {
    --ag-bg: #fff7ed;
    --ag-bg-light: #fffbeb;
    --ag-accent: #c77722;
    --ag-accent-dark: #9a3412;
    --ag-text: #7c2d12;
    box-sizing: border-box;
}

.container-topbar.tameecom-author-gate-topbar *,
.container-topbar.tameecom-author-gate-topbar *::before,
.container-topbar.tameecom-author-gate-topbar *::after,
.tameecom-author-gate-topbar *,
.tameecom-author-gate-topbar *::before,
.tameecom-author-gate-topbar *::after {
    box-sizing: border-box;
}

.container-topbar.tameecom-author-gate-topbar form.mod-login,
.container-topbar.tameecom-author-gate-topbar form.mod-login-logout,
.tameecom-author-gate-topbar form.mod-login,
.tameecom-author-gate-topbar form.mod-login-logout,
form.tameecom-author-gate-topbar.mod-login,
form.tameecom-author-gate-topbar.mod-login-logout {
    direction: rtl;
    display: flex !important;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 6px 10px;
    color: var(--ag-text);
    background: linear-gradient(105deg, #fff0dc, var(--ag-bg-light), #ffe1b8);
    border: 1px solid #edc18c;
    border-radius: 0 0 9px 9px;
    box-shadow: 0 2px 6px rgba(124, 45, 18, .09);
    font-size: 12px;
    line-height: 1.35;
}

.tameecom-author-gate-topbar .mod-login-logout__login-greeting,
.tameecom-author-gate-topbar .login-greeting {
    color: var(--ag-text);
    font-size: 13px;
    font-weight: 700;
}

.tameecom-author-gate-topbar .mod-login-logout__button,
.tameecom-author-gate-topbar .mod-login__submit {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.tameecom-author-gate-topbar .mod-login-logout .btn,
.tameecom-author-gate-topbar .mod-login-logout button,
.tameecom-author-gate-topbar .mod-login .btn,
.tameecom-author-gate-topbar .mod-login button[type="submit"],
.tameecom-author-gate-topbar .mod-login input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0;
    padding: 7px 13px;
    color: #fff !important;
    background: linear-gradient(180deg, #d97706, #9a3412) !important;
    border: 1px solid #9a3412 !important;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    white-space: nowrap;
    visibility: visible;
    opacity: 1;
}

.tameecom-author-gate-topbar .mod-login-logout .btn:hover,
.tameecom-author-gate-topbar .mod-login-logout button:hover,
.tameecom-author-gate-topbar .mod-login .btn:hover,
.tameecom-author-gate-topbar .mod-login button[type="submit"]:hover {
    color: #fff !important;
    background: #7c2d12 !important;
}

.tameecom-author-gate-topbar a {
    color: #9a3412;
    text-decoration: none;
}

.tameecom-author-gate-topbar a:hover {
    color: #7c2d12;
    text-decoration: underline;
}

/* AuthorGate profile shortcut */
a.tameecom-author-profile-nav {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin: 4px 6px;
    padding: 8px 15px;
    color: #7c2d12 !important;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
    border: 1px solid #e7a45b;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(124, 45, 18, .10);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1000;
    transition: background-color .2s ease, box-shadow .2s ease;
}

a.tameecom-author-profile-nav:hover {
    color: #7c2d12 !important;
    background: #fed7aa !important;
    border-color: #c77722;
    box-shadow: 0 3px 8px rgba(124, 45, 18, .18);
    text-decoration: none !important;
}

a.tameecom-author-profile-nav:focus-visible {
    outline: 2px solid #c77722;
    outline-offset: 3px;
}

/* Author profile card — populated only from BDC_Authors */
.tameecom-author-profile-overview {
    direction: rtl;
    margin: 0 0 1.5rem;
    padding: clamp(.9rem, 2.5vw, 1.4rem);
    color: #292524;
    background: linear-gradient(135deg, #fffaf2 0%, #fff 100%);
    border: 1px solid #f2c58d;
    border-inline-start: 5px solid #d97706;
    border-radius: 1rem;
    box-shadow: 0 5px 18px rgba(124, 45, 18, .08);
    text-align: right;
}

.tameecom-author-profile-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    margin-bottom: 1rem;
}

.tameecom-author-profile-image {
    display: block;
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 9px rgba(124, 45, 18, .18);
}

.tameecom-author-profile-intro {
    min-width: 0;
}

.tameecom-author-profile-overview h2 {
    margin: 0 0 .4rem;
    color: #9a3412;
    font-size: 1.35rem;
    font-weight: 800;
}

.tameecom-author-profile-name {
    margin: 0;
    color: #7c2d12;
    font-size: 1.1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.tameecom-author-profile-bio {
    margin: .55rem 0 0;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.tameecom-author-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: .7rem;
}

.tameecom-author-profile-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: .75rem .9rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid #fed7aa;
    border-radius: .65rem;
    overflow-wrap: anywhere;
}

.tameecom-author-profile-item.is-wide {
    grid-column: 1 / -1;
}

.tameecom-author-profile-item strong {
    display: block;
    margin-bottom: .25rem;
    color: #92400e;
    font-size: .9rem;
}

.tameecom-author-profile-item span {
    line-height: 1.7;
}

.tameecom-author-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.tameecom-author-profile-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .6rem 1rem;
    color: #9a3412 !important;
    background: #fff7ed;
    border: 1px solid #d97706;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none !important;
}

.tameecom-author-profile-actions a:hover {
    background: #ffedd5;
}

@media (max-width: 767.98px) {
    .tameecom-author-gate-topbar form.mod-login,
    .tameecom-author-gate-topbar form.mod-login-logout,
    form.tameecom-author-gate-topbar.mod-login,
    form.tameecom-author-gate-topbar.mod-login-logout {
        flex-wrap: wrap;
        gap: 6px;
        padding: 7px;
        overflow: visible;
    }

    a.tameecom-author-profile-nav {
        margin: 3px;
        padding: 7px 11px;
        font-size: 12px;
    }

    .tameecom-author-profile-hero {
        align-items: flex-start;
    }

    .tameecom-author-profile-image {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .tameecom-author-profile-overview h2 {
        font-size: 1.15rem;
    }
}


/* v81: readable account details, status colors and stronger profile actions. */
.tameecom-author-profile-section-title {
    margin: 1.25rem 0 .65rem;
    padding-bottom: .45rem;
    color: #9a3412;
    border-bottom: 2px solid #fed7aa;
    font-size: 1.1rem;
    font-weight: 800;
}

.tameecom-author-account-grid {
    margin-top: .25rem;
}

.tameecom-author-profile-item > strong {
    line-height: 1.5;
}

.tameecom-author-profile-item > span {
    color: #292524;
    font-size: 1rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.tameecom-author-profile-item.tameecom-author-status {
    border-width: 1px;
    border-inline-start-width: 4px;
}

.tameecom-author-profile-item.tameecom-author-status-active {
    background: #e4f7e9;
    color: #176b35;
    border-color: #65b77b;
}
.tameecom-author-profile-item.tameecom-author-status-active > strong,
.tameecom-author-profile-item.tameecom-author-status-active > span {
    color: #176b35;
}
.tameecom-author-profile-item.tameecom-author-status-deceased {
    background: #eceff2;
    border-color: #9ca3af;
}
.tameecom-author-profile-item.tameecom-author-status-pending {
    background: #fff6c9;
    border-color: #e5c449;
}
.tameecom-author-profile-item.tameecom-author-status-suspended {
    background: #ffe6e6;
    border-color: #e78b8b;
}

.tameecom-author-profile-item.tameecom-author-financial.is-active {
    background: #e4f7e9;
    border-color: #65b77b;
    border-inline-start: 5px solid #218344;
}
.tameecom-author-profile-item.tameecom-author-financial.is-active > strong,
.tameecom-author-profile-item.tameecom-author-financial.is-active > span {
    color: #176b35;
}
.tameecom-author-profile-item.tameecom-author-financial.is-inactive {
    background: #f5f5f4;
    border-color: #d6d3d1;
    border-inline-start: 5px solid #a8a29e;
}
.tameecom-author-profile-item.tameecom-author-financial.is-inactive > strong,
.tameecom-author-profile-item.tameecom-author-financial.is-inactive > span {
    color: #57534e;
}

.tameecom-author-thanks-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: .9rem;
    padding: .55rem .95rem;
    color: #17683a;
    background: linear-gradient(135deg, #f0fff4, #d7f5df);
    border: 1px solid #78c995;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.6;
}

.tameecom-author-profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
    margin-top: 1.2rem;
}

.tameecom-author-profile-actions a.tameecom-author-visit-blog {
    min-height: 54px;
    padding: .85rem 1.8rem;
    color: #fff !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 45%, #9a3412 100%) !important;
    border: 2px solid #c77722;
    border-radius: 999px;
    box-shadow: 0 7px 18px rgba(154, 52, 18, .22);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: .01em;
}
.tameecom-author-profile-actions a.tameecom-author-visit-blog::before {
    content: "↗";
    margin-inline-end: .55rem;
    font-size: 1.15em;
}
.tameecom-author-profile-actions a.tameecom-author-visit-blog:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #d97706, #7c2d12) !important;
    box-shadow: 0 9px 22px rgba(154, 52, 18, .3);
    transform: translateY(-1px);
}

.tameecom-author-profile-actions a.tameecom-author-edit-profile,
.tameecom-author-profile-actions .tameecom-author-edit-profile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0 !important;
    padding: .7rem 1.25rem !important;
    color: #7c2d12 !important;
    background: #fff7ed !important;
    border: 1px solid #e7a45b !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 7px rgba(124, 45, 18, .08);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none !important;
}
.tameecom-author-profile-actions a.tameecom-author-edit-profile:hover,
.tameecom-author-profile-actions .tameecom-author-edit-profile:hover {
    color: #7c2d12 !important;
    background: #ffedd5 !important;
    border-color: #c77722 !important;
}
@media (max-width: 767.98px) {
    .tameecom-author-profile-actions {
        align-items: stretch;
    }
    .tameecom-author-profile-actions a.tameecom-author-visit-blog,
    .tameecom-author-profile-actions a.tameecom-author-edit-profile,
    .tameecom-author-profile-actions .tameecom-author-edit-profile {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}


/* v87: Keep the custom profile card inside Joomla's component region and suppress
   only the native profile-view siblings; never apply this rule to the edit form. */
.com-users-profile.tameecom-author-profile-native-hidden > :not(.tameecom-author-profile-overview) {
    display: none !important;
}

/* Read-only account identity fields are visually distinct from editable controls. */
#member-profile input[readonly],
#member-profile input[readonly="readonly"],
.com-users-profile-edit input[readonly],
.com-users-profile-edit input[readonly="readonly"],
form input#jform_name[readonly],
form input[name="jform[name]"][readonly] {
    color: #57534e !important;
    background: #e7e5e4 !important;
    border: 1px solid #a8a29e !important;
    box-shadow: inset 0 1px 2px rgba(41, 37, 36, .08) !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

#member-profile input[readonly]:focus,
.com-users-profile-edit input[readonly]:focus,
form input#jform_name[readonly]:focus,
form input[name="jform[name]"][readonly]:focus {
    outline: 2px solid rgba(120, 113, 108, .2) !important;
    outline-offset: 1px;
}


/* Tameecom Author Gate 0.2.29 */
.tameecom-author-date-wrap {
    margin: 1rem 0 1.25rem;
}
.tameecom-author-date-wrap label {
    display: block;
    font-weight: 600;
    margin-bottom: .35rem;
}
.tameecom-author-date-wrap .form-text {
    margin-top: .35rem;
}
.tameecom-author-date-input {
    max-width: 24rem;
}


/* Consolidated former PHP inline CSS block 1 */
.tameecom-author-wall-history {
    clear: both;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: .85rem 0 0;
    padding: .8rem 1rem;
    border-top: 1px solid #e2e8f0;
    text-align: right;
    direction: rtl;
}
.tameecom-author-wall-history h4 { margin: 0 0 .6rem; font-size: 1rem; }
.tameecom-author-wall-history .history-event {
    margin: .45rem 0;
    padding: .6rem .75rem;
    border-right: 4px solid #94a3b8;
    border-radius: .25rem;
    background: #fff;
    white-space: pre-wrap;
}
.tameecom-author-wall-history .history-event.is-submitted,
.tameecom-author-wall-history .history-event.is-resubmitted { border-right-color: #e0a800; }
.tameecom-author-wall-history .history-event.is-rejected {
    border-right-color: #dc3545;
    background: #fff5f5;
}
.tameecom-author-wall-history .history-event.is-approved {
    border-right-color: #198754;
    background: #f3fff7;
}
.tameecom-author-admin-heading {
    display: flex !important;
    align-items: center;
    gap: .7rem;
    direction: rtl;
    font-size: 1.45rem !important;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: .85rem !important;
}
.tameecom-author-admin-heading .tameecom-author-gate-logo {
    display: inline-block;
    flex: 0 0 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    max-width: 2.35rem;
    object-fit: contain;
    vertical-align: middle;
}
.tameecom-author-workspace {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.tameecom-author-workspace *,
.tameecom-author-wall-messages *,
.tameecom-author-wall-history * {
    box-sizing: border-box;
}
.tameecom-author-wall-history .history-event {
    overflow-wrap: anywhere;
    word-break: normal;
}
.tameecom-author-wall-messages .joomla-alert,
.tameecom-author-wall-messages .alert,
.tameecom-author-wall-messages [role="alert"] {
    max-width: 100%;
    overflow-wrap: anywhere;
}
@media (max-width: 768px) {
    .tameecom-author-admin-heading {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: .5rem;
        font-size: 1.22rem !important;
        line-height: 1.4;
        flex-wrap: nowrap !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        grid-column: 1 / -1;
    }
    .tameecom-author-admin-heading > span {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        width: auto !important;
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        text-orientation: mixed;
        writing-mode: horizontal-tb !important;
    }
    .tameecom-author-admin-heading .tameecom-author-gate-logo {
        flex-basis: 1.85rem;
        width: 1.85rem;
        height: 1.85rem;
        max-width: 1.85rem;
    }
    .tameecom-author-workspace {
        padding-inline: .65rem !important;
        overflow-wrap: anywhere;
    }
    .tameecom-author-workspace > * {
        max-width: 100%;
    }
    .tameecom-author-wall-history {
        padding: .65rem .55rem;
        margin-top: .6rem;
    }
    .tameecom-author-wall-history .history-event {
        padding: .55rem .6rem;
        font-size: .92rem;
        line-height: 1.55;
    }
    .tameecom-author-wall-messages {
        margin: .7rem 0 1rem;
    }
    .tameecom-author-wall-messages .joomla-alert,
    .tameecom-author-wall-messages .alert {
        padding: .65rem .75rem;
        font-size: .92rem;
    }
}
@media (max-width: 480px) {
    .tameecom-author-admin-heading {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 1.08rem !important;
        gap: .4rem;
        flex-wrap: nowrap !important;
        line-height: 1.45;
    }
    .tameecom-author-admin-heading > span {
        flex: 1 1 auto;
        min-width: 0;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        writing-mode: horizontal-tb !important;
    }
    .tameecom-author-admin-heading .tameecom-author-gate-logo {
        flex-basis: 1.55rem;
        width: 1.55rem;
        height: 1.55rem;
        max-width: 1.55rem;
    }
    .tameecom-author-wall-history h4 {
        font-size: .94rem;
    }
    .tameecom-author-wall-history .history-event {
        font-size: .86rem;
    }
}
.tameecom-author-wall-messages {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 1rem 0 1.25rem;
    clear: both;
}

/* Consolidated former PHP inline CSS block 2 */
.tameecom-author-private-topics {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #fff;
}
.tameecom-author-private-topics h3 {
    margin: 0 0 .85rem;
    font-weight: 700;
}
.tameecom-author-private-topic {
    margin: .7rem 0;
    padding: .8rem .9rem;
    border: 1px solid #e2e8f0;
    border-radius: .4rem;
    background: #f8fafc;
}
.tameecom-author-private-topic-title {
    font-weight: 700;
    font-size: 1.02rem;
}
.tameecom-author-private-topic-title a {
    text-decoration: none;
}
.tameecom-author-private-topic-status {
    display: inline-block;
    margin-top: .45rem;
    padding: .2rem .55rem;
    border-radius: .3rem;
    font-weight: 700;
}
.tameecom-author-private-topic-status.is-pending { background: #fff3cd; }
.tameecom-author-private-topic-status.is-rejected { background: #f8d7da; }
.tameecom-author-private-topic-meta { margin-top: .3rem; font-size: .92rem; }
.tameecom-author-private-editor-field {
    margin: 1rem 0;
}
.tameecom-author-private-editor-field label {
    display: block;
    font-weight: 700;
    margin-bottom: .4rem;
}
.tameecom-author-rich-editor {
    min-height: 160px;
    padding: .8rem;
    border: 1px solid #cbd5e1;
    border-radius: .35rem;
    background: #fff;
    overflow: auto;
    line-height: 1.8;
}
.tameecom-author-rich-editor:focus {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}
.tameecom-author-workflow-timeline {
    margin-top: 1rem;
    padding-top: .8rem;
    border-top: 1px solid #cbd5e1;
}
.tameecom-author-workflow-timeline h4 {
    margin: 0 0 .7rem;
}
.tameecom-author-workflow-event {
    margin: .55rem 0;
    padding: .7rem .8rem;
    border-right: 4px solid #64748b;
    background: #f8fafc;
    border-radius: .3rem;
}
.tameecom-author-workflow-event.is-submitted,
.tameecom-author-workflow-event.is-resubmitted {
    border-right-color: #e0a800;
}
.tameecom-author-workflow-event.is-rejected {
    border-right-color: #dc3545;
    background: #fff5f5;
}
.tameecom-author-workflow-event.is-approved {
    border-right-color: #198754;
    background: #f3fff7;
}
.tameecom-author-workflow-event-title {
    font-weight: 700;
}
.tameecom-author-workflow-event-date {
    margin-top: .25rem;
    font-size: .9rem;
    color: #64748b;
}
.tameecom-author-workflow-event-message {
    margin-top: .45rem;
    padding-top: .45rem;
    border-top: 1px solid rgba(100,116,139,.2);
    white-space: pre-wrap;
}

/* Consolidated former PHP inline CSS block 3 */
.tameecom-author-moderation-panel {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid #cbd5e1;
    border-right: 5px solid #2563eb;
    border-radius: .5rem;
    background: #f8fafc;
}
.tameecom-author-moderation-panel h3 { margin: 0 0 .6rem; }
.tameecom-author-moderation-status { font-weight: 700; margin-bottom: .7rem; }
.tameecom-author-moderation-message {
    width: 100%;
    min-height: 130px;
    margin-top: .5rem;
}
.tameecom-author-moderation-history {
    margin-top: 1rem;
    padding-top: .8rem;
    border-top: 1px solid #cbd5e1;
}
.tameecom-author-moderation-history h4 { margin: 0 0 .7rem; }
.tameecom-author-moderation-event {
    margin: .55rem 0;
    padding: .7rem .8rem;
    border-right: 4px solid #64748b;
    background: #fff;
    border-radius: .3rem;
}
.tameecom-author-moderation-event.is-submitted,
.tameecom-author-moderation-event.is-resubmitted {
    border-right-color: #e0a800;
}
.tameecom-author-moderation-event.is-rejected {
    border-right-color: #dc3545;
    background: #fff5f5;
}
.tameecom-author-moderation-event.is-approved {
    border-right-color: #198754;
    background: #f3fff7;
}
.tameecom-author-moderation-event-title { font-weight: 700; }
.tameecom-author-moderation-event-date { margin-top: .25rem; color: #64748b; font-size: .9rem; }
.tameecom-author-moderation-event-message {
    margin-top: .45rem;
    padding-top: .45rem;
    border-top: 1px solid rgba(100,116,139,.2);
    white-space: pre-wrap;
}
.tameecom-author-moderation-note {
    color: #475569;
    margin-top: .7rem;
}

/* Consolidated former PHP inline CSS block 4 */
/* Tameecom workflow: yellow = pending/needs review; red = rejected/needs revision. */
table tbody tr.tameecom-author-submission-row-pending > td,
table tbody tr.tameecom-author-submission-row-pending > th {
    background: #fff3cd !important;
    background-color: #fff3cd !important;
}
tr.tameecom-author-submission-row-pending > td:first-child,
tr.tameecom-author-submission-row-pending > th:first-child {
    border-right: 5px solid #f0ad00 !important;
}
tr.tameecom-author-submission-row-pending:hover > td,
tr.tameecom-author-submission-row-pending:hover > th {
    background-color: #ffe8a1 !important;
}
table tbody tr.tameecom-author-submission-row-rejected > td,
table tbody tr.tameecom-author-submission-row-rejected > th {
    background: #f8d7da !important;
    background-color: #f8d7da !important;
}
tr.tameecom-author-submission-row-rejected > td:first-child,
tr.tameecom-author-submission-row-rejected > th:first-child {
    border-right: 5px solid #dc3545 !important;
}
tr.tameecom-author-submission-row-rejected:hover > td,
tr.tameecom-author-submission-row-rejected:hover > th {
    background-color: #f1bfc4 !important;
}

/* Consolidated former PHP inline CSS block 5 */
.tameecom-author-workflow-notice {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #f8fafc;
}
.tameecom-author-workflow-notice.is-pending { border-right: 5px solid #f59e0b; }
.tameecom-author-workflow-notice.is-rejected { border-right: 5px solid #dc2626; }
.tameecom-author-workflow-notice.is-approved { border-right: 5px solid #16a34a; }
.tameecom-author-workflow-notice .automatic { font-weight: 700; }
.tameecom-author-workflow-notice .message {
    margin-top: .7rem;
    padding-top: .7rem;
    border-top: 1px solid #e2e8f0;
    white-space: pre-wrap;
}
.tameecom-author-workflow-notice-history {
    margin-top: 1rem;
    padding-top: .8rem;
    border-top: 1px solid #e2e8f0;
}
.tameecom-author-workflow-notice-history h4 { margin: 0 0 .7rem; }
.tameecom-author-workflow-notice-history .history-event {
    margin: .45rem 0;
    padding: .55rem .7rem;
    border-right: 4px solid #94a3b8;
    background: #fff;
}
.tameecom-author-workflow-notice-history .history-event.is-submitted,
.tameecom-author-workflow-notice-history .history-event.is-resubmitted {
    border-right-color: #e0a800;
}
.tameecom-author-workflow-notice-history .history-event.is-rejected {
    border-right-color: #dc3545;
    background: #fff5f5;
}
.tameecom-author-workflow-notice-history .history-event.is-approved {
    border-right-color: #198754;
    background: #f3fff7;
}

/* Consolidated former PHP inline CSS block 6 */
/* Tameecom Author Gate - author-only Create Article UI */
body.tameecom-author-create .tameecom-author-date-wrap {
    margin: 1rem 0 1.25rem;
}
body.tameecom-author-create .tameecom-author-date-wrap label {
    display: block;
    font-weight: 600;
    margin-bottom: .35rem;
}
body.tameecom-author-create .tameecom-author-date-wrap .form-text {
    margin-top: .35rem;
}
body.tameecom-author-create .tameecom-author-date-input {
    max-width: 24rem;
}
body.tameecom-author-create .tameecom-hide-author-ui {
    display: none !important;
}
