.user-editor.post-type-page .select-lang,
.user-editor.post-type-page .table-heading-languages,
.user-editor.post-type-page .table-langs,
.user-editor.post-type-page .table-langs-edit,
.user-editor.post-type-page .language-panel {
    display: none;
}
.simple-textarea button[title="Italic"],
.simple-textarea button[title="Strikethrough"],
.simple-textarea button[title="Emoticons"],
.simple-textarea button[title="Special character"],
.simple-textarea button[title="Undo"],
.simple-textarea button[title="Redo"],
.simple-textarea button[title="Superscript"],
.simple-textarea button[title="Subscript"],
.simple-textarea button[title="Justify"] {
    display: none;
}
.term-logo img {
    aspect-ratio: 5 / 3;
    object-fit: contain;
    width: 60px;
}
.activate-watermark {
    display: none;
}
/* GA4 / Search Console statistika paneli üslubları köçürüldü →
   /partials/admin/analytics/assets/style.css */

/* WhatsApp gateway */
.table-heading-area.gw-heading-wide {
    flex-direction: column;
    align-items: stretch;
}
.table-heading-area.gw-heading-wide .list-filter {
    margin-bottom: 10px;
}
.admin-field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.admin-field-group > * {
    margin: 0;
}
.admin-field-group.gw-field-row {
    flex-direction: row;
    align-items: center;
}
.admin-field-group.gw-field-row > input {
    flex: 0 1 120px;
    min-width: 0;
}
.admin-element.gw-media-field:not(.gw-open) {
    display: none;
}
.gw-loading {
    margin-left: 10px;
}
.disabled-button {
    opacity: .6;
}
.gw-text {
    max-width: 420px;
    word-break: break-word;
}
.gw-key-box {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.gw-key {
    font-size: 13px;
    padding: 6px 8px;
    background: rgba(0, 0, 0, .06);
    border-radius: 4px;
    word-break: break-all;
    user-select: all;
}
.gw-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .55);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.gw-modal-open {
    display: flex;
}
.gw-modal-box {
    position: relative;
    background: #fff;
    color: #222;
    border-radius: 8px;
    padding: 24px;
    width: 100%;
    max-width: 420px;
    max-height: 100%;
    overflow: auto;
}
.gw-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 20px;
    color: inherit;
}
.gw-steps {
    padding-left: 20px;
    margin: 8px 0 12px;
    font-size: 14px;
}
.gw-qr-area {
    min-height: 264px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gw-qr-area img {
    width: 264px;
    height: 264px;
}
.gw-qr-state {
    text-align: center;
    font-size: 13px;
    min-height: 18px;
    margin: 6px 0 14px;
}
.gw-pair-code {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 4px;
    font-family: monospace;
}
.gw-pair-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.gw-docs pre {
    background: #1e1e1e;
    color: #e6e6e6;
    padding: 12px 14px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 13px;
    margin: 8px 0 14px;
    white-space: pre;
}
.gw-doc-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 6px 0 12px;
}
.gw-doc-table td,
.gw-doc-table th {
    font-size: 13px;
    text-align: left;
}
.gw-license {
    font-size: 13px;
}
.admin-dashboard-area {
    margin: 0;
}
.admin-dashboard-area > .admin-dashboard-block {
    display: none;
}
.gw-dashboard {
    width: 100%;
}
.gw-dashboard-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}
body.user-client .user-status-element {
    display: none;
}
.admin-sidebar-element[class*="sidebar-gw"] > a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-bar .go-site,
.admin-bar-element.add-new {
    display: none;
}

.gw-doc-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
}
.gw-doc-heading .section-heading {
    margin-right: auto;
}
.gw-example-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.gw-example-links {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    font-size: 13px;
}
.gw-example-code {
    margin: 14px 0 6px;
}
.gw-canvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000001;
    display: none;
}
.gw-canvas-overlay.active-canvas-overlay {
    display: block;
}
.gw-canvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 560px;
    max-width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000002;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s;
}
.gw-canvas.active-canvas-sidebar {
    transform: translateX(0);
    visibility: visible;
}
.gw-canvas-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 600;
}
.gw-canvas .gw-canvas-close {
    font-size: 20px;
    color: inherit;
}
.gw-canvas-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 6px 20px 20px;
}
.gw-canvas-body pre {
    background: #1e1e1e;
    color: #e6e6e6;
    padding: 12px 14px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 12px;
    margin: 0 0 10px;
}
body.gw-canvas-open {
    overflow: hidden;
}

.gw-campaign-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.gw-campaign-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gw-campaign-body {
    white-space: normal;
    line-height: 1.6;
}
.admin-element .form-description a i {
    padding-left: 0;
    color: inherit;
    font-size: inherit;
}
.gw-hint-text:not(.gw-open) {
    display: none;
}
.badge-purple {
    background: #efe7fd;
    color: #7c3aed;
}
.badge-teal {
    background: #dff4f2;
    color: #0f766e;
}
.badge-fill.badge-purple {
    background: #7c3aed;
}
.gw-read-cell {
    color: #34b7f1;
    font-weight: 600;
    white-space: nowrap;
}
.gw-read-check {
    display: inline-flex;
    align-items: center;
    font-size: 17px;
    margin-right: 6px;
    vertical-align: middle;
}
.gw-read-check .fe + .fe {
    margin-left: -11px;
}
.gw-nowrap {
    white-space: nowrap;
}
.info-cards.gw-cards-compact {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}
.gw-cards-compact .info-card {
    padding: 8px 10px;
    gap: 2px;
}
.gw-cards-compact .info-card-label {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gw-cards-compact .info-card-value {
    font-size: 18px;
}
@media (max-width: 1100px) {
    .info-cards.gw-cards-compact {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.gw-chat {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    border: 1px solid #dfe1e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    min-height: 560px;
}
.gw-chat-list {
    border-right: 1px solid #dfe1e5;
    overflow-y: auto;
    max-height: 72vh;
}
.admin-content .gw-chat-item {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid #eef0f3;
    color: inherit;
    text-decoration: none;
}
.admin-content .gw-chat-item:hover {
    text-decoration: none;
    background: #f6f7f9;
}
.gw-chat-item-active {
    background: #e9ebef;
}
.gw-chat-item-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.gw-chat-item-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gw-chat-item-time,
.gw-chat-item-phone,
.gw-chat-item-number {
    font-size: 12px;
    color: #5b6572;
    white-space: nowrap;
}
.gw-chat-item-phone,
.gw-chat-item-number {
    display: block;
}
.gw-chat-item-last {
    display: block;
    font-size: 13px;
    color: #3d4550;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gw-chat-item-last .gw-tick {
    margin-right: 3px;
    vertical-align: -2px;
}
.gw-tick-failed {
    color: #be2d2d;
}
.gw-chat-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.gw-chat-head {
    padding: 12px 16px;
    border-bottom: 1px solid #dfe1e5;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.gw-chat-thread {
    flex: 1 1 auto;
    overflow-y: auto;
    max-height: 60vh;
    padding: 14px 18px;
    background: #efeae2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gw-chat-day {
    text-align: center;
    margin: 8px 0;
}
.gw-chat-day span {
    background: #fff;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    color: #5b6572;
}
.gw-bubble {
    max-width: 70%;
    padding: 6px 10px 4px;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
    word-break: break-word;
}
.gw-bubble-in {
    align-self: flex-start;
    background: #fff;
}
.gw-bubble-out {
    align-self: flex-end;
    background: #d9fdd3;
}
.gw-bubble-text {
    font-size: 14px;
    line-height: 1.45;
}
.gw-bubble-file {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    margin-bottom: 4px;
}
.gw-bubble-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #667781;
    margin-top: 2px;
}
.gw-bubble-tag {
    background: rgba(0, 0, 0, .06);
    border-radius: 4px;
    padding: 0 5px;
}
.gw-bubble-error {
    font-size: 12px;
    color: #be2d2d;
    margin-top: 2px;
}
.gw-tick {
    display: inline-flex;
    color: #8696a0;
    font-size: 14px;
}
.gw-tick .fe + .fe {
    margin-left: -9px;
}
.gw-tick-read {
    color: #34b7f1;
}
.gw-chat-reply {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid #dfe1e5;
    align-items: flex-end;
}
.gw-chat-reply textarea {
    flex: 1 1 auto;
    min-height: 44px;
    resize: vertical;
}
.gw-chat-reply .gw-chat-send {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gw-chat-reply .form-result {
    flex: 1 1 100%;
}
.gw-chat-empty {
    padding: 30px;
    text-align: center;
    color: #5b6572;
}
@media (max-width: 900px) {
    .gw-chat {
        grid-template-columns: 1fr;
    }
    .gw-chat-list {
        max-height: 40vh;
        border-right: 0;
        border-bottom: 1px solid #dfe1e5;
    }
}
