/* BOT-panel user cabinet theme */
body.bot-panel-body {
    background: #ffffff;
    color: #111111;
    padding-top: 56px;
}

.bot-panel-body main.flex-shrink-0 {
    background: #ffffff;
    min-height: calc(100vh - 56px - 60px);
}

body.bot-panel-body .footer {
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    color: #111111;
}

.navbar.bot-panel-navbar {
    background-color: #000000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bot-panel-container {
    padding-top: 1rem;
    padding-bottom: 5rem;
}

.bot-panel-card {
    border: 1px solid #dee2e6;
    box-shadow: none;
}

.bot-panel-card > .card-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    color: #111;
}

.bot-panel-card > .card-header {
    border-bottom: 1px solid #dee2e6;
    color: #111111;
}

.bot-panel-table {
    color: #111111;
}

.bot-panel-table thead th {
    border-color: #dee2e6;
    background: #f8f9fa;
    color: #111111;
}

.bot-panel-table td,
.bot-panel-table th {
    border-color: #dee2e6;
}

.badge-success {
    background-color: #026336;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-warning {
    background-color: #ffc107;
    color: #111111;
}

.btn-success {
    background-color: #026336;
    border-color: #026336;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #04af5f;
    border-color: #04af5f;
}

/* ============================================================
   USER PANEL (logged-in) — ТЗ SmartGT:
   чорне fixed меню, білий фон, чорний текст, зелені кнопки,
   червоний/жовтий статуси, сірі лінії таблиць
   ============================================================ */
body.bot-panel-body {
    background: #ffffff;
    color: #111111;
}

body.bot-panel-body main.flex-shrink-0,
body.bot-panel-body .bot-panel-container {
    background: #ffffff;
    color: #111111;
}

body.bot-panel-body h1,
body.bot-panel-body h2,
body.bot-panel-body h3,
body.bot-panel-body h4,
body.bot-panel-body .card,
body.bot-panel-body .table,
body.bot-panel-body label,
body.bot-panel-body .form-control {
    color: #111111;
}

body.bot-panel-body .text-muted {
    color: #666666 !important;
}

body.bot-panel-body .card {
    border: 1px solid #dee2e6;
    box-shadow: none;
    background: #ffffff;
}

body.bot-panel-body .card-header {
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    color: #111111;
}

body.bot-panel-body .card-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    color: #111111;
}

body.bot-panel-body .breadcrumb {
    background: transparent;
    padding-left: 0;
    color: #111111;
}

body.bot-panel-body .breadcrumb-item.active {
    color: #666666;
}

body.bot-panel-body .btn-primary,
body.bot-panel-body .btn-dark {
    background-color: #026336;
    border-color: #026336;
    color: #ffffff;
}

body.bot-panel-body .btn-primary:hover,
body.bot-panel-body .btn-dark:hover,
body.bot-panel-body .btn-primary:focus,
body.bot-panel-body .btn-dark:focus {
    background-color: #04af5f;
    border-color: #04af5f;
    color: #ffffff;
}

body.bot-panel-body .icon-button.btn-primary,
body.bot-panel-body .icon-button.btn-dark {
    background-color: #026336;
    border-color: #026336;
    color: #ffffff;
}

body.bot-panel-body .table,
body.bot-panel-body .table td,
body.bot-panel-body .table th {
    border-color: #dee2e6;
    color: #111111;
}

body.bot-panel-body .table thead th {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #111111;
}

body.bot-panel-body .grid-view .summary,
body.bot-panel-body .grid-view .pagination {
    color: #111111;
}

body.bot-panel-body .alert-success {
    background-color: #d4edda;
    border-color: #026336;
    color: #111111;
}

body.bot-panel-body .alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #111111;
}

body.bot-panel-body .alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #111111;
}

body.bot-panel-body .badge-success {
    background-color: #026336;
    color: #ffffff;
}

body.bot-panel-body .badge-danger {
    background-color: #dc3545;
    color: #ffffff;
}

body.bot-panel-body .badge-warning {
    background-color: #ffc107;
    color: #111111;
}

body.bot-panel-body .bot-panel-toolbar .btn,
body.bot-panel-body .bot-page-toolbar .btn {
    background-color: #026336;
    border-color: #026336;
    color: #ffffff;
}

body.bot-panel-body .bot-panel-toolbar .btn:hover,
body.bot-panel-body .bot-page-toolbar .btn:hover {
    background-color: #04af5f;
    border-color: #04af5f;
}

body.bot-panel-body .bot-panel-toolbar .btn i,
body.bot-panel-body .bot-page-toolbar .btn i {
    margin-right: 0.35rem;
}

body.bot-panel-body .form-group .btn-success i {
    margin-right: 0.35rem;
}

body.bot-panel-body .btn-outline-primary {
    color: #026336;
    border-color: #026336;
}

body.bot-panel-body .btn-outline-primary:hover {
    background-color: #026336;
    border-color: #026336;
    color: #ffffff;
}

body.bot-panel-body .badge-info {
    background-color: #026336;
    color: #ffffff;
}

.bot-panel-chat-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.bot-panel-chat-header h5 {
    margin: 0;
    color: #111111;
}

.bot-panel-chat-meta {
    color: #666666;
    font-size: 0.9rem;
}

#bot-chat-thread {
    max-height: 480px;
    overflow-y: auto;
    padding: 0.5rem 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.bot-panel-chat-bubble {
    margin-bottom: 1rem;
}

.bot-panel-chat-bubble .chat-meta {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.bot-panel-chat-bubble .chat-body {
    display: inline-block;
    max-width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    background: #ffffff;
    color: #111111;
    word-break: break-word;
}

.bot-panel-chat-bubble.is-right {
    text-align: right;
}

.bot-panel-chat-bubble.is-right .chat-body {
    background: #e8f5ee;
    border-color: #c3e6cb;
}

.bot-panel-form-page .card-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.bot-support-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: #026336;
    color: #fff !important;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    font-weight: 600;
}

.bot-support-fab:hover {
    background: #04af5f;
    color: #fff !important;
}

body.bot-landing-body .bot-support-fab {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

/* ============================================================
   LANDING (guests only) — тіло як sgt.com.ua/BOT-panel.html
   ============================================================ */
body.bot-landing-body {
    background: #0a0f0d;
    color: #e8ece9;
    padding-top: 56px;
    scroll-behavior: smooth;
}

body.bot-landing-body main.flex-shrink-0 {
    background: #0a0f0d;
    min-height: calc(100vh - 56px);
}

body.bot-landing-body .footer {
    background: #060908;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9aa3a0;
}

body.bot-landing-body .footer a {
    color: #04af5f;
}

body.bot-landing-body .navbar.bot-panel-navbar {
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px);
}

body.bot-landing-body .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.95rem;
}

body.bot-landing-body .navbar-nav .nav-link:hover {
    color: #fff !important;
}

body.bot-landing-body .bot-nav-login .nav-link {
    background: #026336;
    color: #fff !important;
    border-radius: 999px;
    padding: 0.4rem 1.25rem !important;
    margin-left: 0.5rem;
    box-shadow: 0 0 20px rgba(4, 175, 95, 0.35);
}

body.bot-landing-body .bot-nav-login .nav-link:hover {
    background: #04af5f;
}

.bot-landing-hero {
    background: radial-gradient(ellipse at 30% 20%, rgba(2, 99, 54, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, #0a0f0d 0%, #0d1411 100%);
    color: #fff;
    padding: 4rem 0 3.5rem;
}

.bot-landing-hero h1 {
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.bot-landing-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 34rem;
}

.bot-landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(2, 99, 54, 0.25);
    border: 1px solid rgba(4, 175, 95, 0.35);
    color: #b8f0d0;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.bot-landing-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #04af5f;
    box-shadow: 0 0 8px #04af5f;
}

.bot-landing-btn-glow {
    box-shadow: 0 0 24px rgba(4, 175, 95, 0.4);
}

.bot-landing-stats .bot-landing-stat {
    background: rgba(12, 18, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bot-landing-stat i {
    color: #04af5f;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.bot-landing-stat strong {
    color: #fff;
    font-size: 0.95rem;
}

.bot-landing-stat span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    line-height: 1.35;
}

.bot-landing-mockup {
    background: rgba(20, 28, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: 0 0 60px rgba(4, 175, 95, 0.12);
}

.bot-landing-mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-landing-mockup-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.bot-landing-mockup-bar em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.bot-landing-mockup-block {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.65rem;
}

.bot-landing-mockup-block:last-child {
    margin-bottom: 0;
}

.bot-landing-mockup-block h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #fff;
}

.bot-landing-mockup-block h3 i {
    color: #04af5f;
    margin-right: 0.4rem;
}

.bot-landing-mockup-block ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.bot-landing-section {
    padding: 3.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Tariffs — dark glass cards, equal height */
.bot-landing-section-tariffs {
    background: radial-gradient(ellipse at 50% 0%, rgba(2, 99, 54, 0.1) 0%, transparent 55%), #0a0f0d;
}

.bot-landing-tariff-row {
    align-items: stretch;
}

.bot-landing-tariff-note {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 1.25rem;
}

.bot-landing-tabs .bot-landing-tab {
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.bot-landing-tabs .bot-landing-tab.active {
    box-shadow: 0 0 20px rgba(4, 175, 95, 0.35);
}

.bot-landing-tariff {
    position: relative;
    width: 100%;
    background: rgba(12, 18, 15, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.bot-landing-tariff-body {
    flex: 1 1 auto;
}

.bot-landing-tariff-cta {
    margin-top: auto;
    padding-top: 1rem;
}

.bot-landing-tariff-cta .btn {
    border-radius: 999px;
    min-height: 48px;
    font-weight: 600;
    padding: 0.65rem 1rem;
}

.bot-landing-tariff-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(4, 175, 95, 0.12);
    color: #04af5f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bot-landing-tariff.featured {
    border-color: rgba(4, 175, 95, 0.5);
    box-shadow: 0 0 32px rgba(4, 175, 95, 0.15);
}

.bot-landing-tariff--business,
.bot-landing-tariff--max {
    border-color: rgba(156, 89, 255, 0.35);
}

.bot-landing-tariff-badge--purple {
    color: #b388ff !important;
    border-color: rgba(179, 136, 255, 0.45) !important;
    background: rgba(179, 136, 255, 0.1) !important;
}

.bot-landing-tariff-list,
.bot-landing-tariff-benefits ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.bot-landing-tariff-list li,
.bot-landing-tariff-benefits li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.35rem;
}

.bot-landing-tariff-list li::before,
.bot-landing-tariff-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #04af5f;
}

.bot-landing-tariff-benefits {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-top: 1rem;
    min-height: 140px;
}

.bot-landing-price {
    text-align: center;
}

/* Features — 5 equal cards in a row */
.bot-landing-section-features {
    background: #0a0f0d;
}

.bot-landing-features-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1199.98px) {
    .bot-landing-features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .bot-landing-features-grid {
        grid-template-columns: 1fr;
    }
}

.bot-landing-feature {
    background: rgba(12, 18, 15, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.bot-landing-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(4, 175, 95, 0.12);
    color: #04af5f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.bot-landing-section h2 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.bot-landing-sub {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2rem;
    max-width: 40rem;
}

.bot-landing-tabs {
    display: inline-flex;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 0.25rem;
}

.bot-landing-tab {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    cursor: default;
}

.bot-landing-tab.active {
    background: #026336;
    color: #fff;
}

.bot-landing-tariff {
    position: relative;
    width: 100%;
    background: rgba(12, 18, 15, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Instructions — dark accordion like reference */
.bot-landing-section-instructions {
    background: radial-gradient(ellipse at 50% 0%, rgba(2, 99, 54, 0.12) 0%, transparent 50%),
        #0a0f0d;
}

.bot-landing-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bot-landing-section-head h2 {
    margin-bottom: 0;
}

.bot-landing-accordions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bot-landing-accordion {
    background: rgba(12, 18, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bot-landing-accordion[open] {
    border-color: rgba(4, 175, 95, 0.55);
    box-shadow: 0 0 24px rgba(4, 175, 95, 0.12);
}

.bot-landing-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.bot-landing-accordion summary::-webkit-details-marker {
    display: none;
}

.bot-landing-acc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(2, 99, 54, 0.25);
}

.bot-landing-acc-icon--orange {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
}

.bot-landing-acc-icon--green {
    background: rgba(4, 175, 95, 0.15);
    color: #04af5f;
}

.bot-landing-acc-icon--blue {
    background: rgba(33, 150, 243, 0.15);
    color: #42a5f5;
}

.bot-landing-acc-title {
    flex: 1;
    font-weight: 600;
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.35;
}

.bot-landing-acc-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    position: relative;
}

.bot-landing-acc-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -65%) rotate(45deg);
    transition: transform 0.2s;
}

.bot-landing-accordion[open] .bot-landing-acc-toggle::after {
    transform: translate(-50%, -35%) rotate(-135deg);
}

.bot-landing-accordion-body {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-landing-steps {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.25rem 0;
}

.bot-landing-step {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.bot-landing-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #026336;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bot-landing-step p {
    margin: 0;
    padding-top: 0.15rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.45;
}

.bot-landing-step p strong {
    color: #fff;
    font-weight: 600;
}

.bot-landing-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.bot-landing-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.bot-landing-video--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    min-height: 220px;
}

.bot-landing-video--placeholder i {
    font-size: 3rem;
    color: #ff0000;
    opacity: 0.85;
}

.bot-landing-duration {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.bot-landing-tariff.featured {
    border-color: rgba(4, 175, 95, 0.45);
    box-shadow: 0 0 30px rgba(4, 175, 95, 0.12);
}

.bot-landing-tariff-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #04af5f;
    border: 1px solid rgba(4, 175, 95, 0.4);
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
}

.bot-landing-tariff-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bot-landing-tariff-head i {
    font-size: 1.25rem;
    color: #04af5f;
}

.bot-landing-tariff-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.bot-landing-tariff-head small {
    color: rgba(255, 255, 255, 0.5);
}

.bot-landing-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.bot-landing-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
}

.bot-landing-tariff-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.5rem;
}

.bot-landing-tariff-list,
.bot-landing-tariff-benefits ul {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

.bot-landing-feature i {
    font-size: 1.35rem;
    color: #04af5f;
    margin-bottom: 0.65rem;
}

.bot-landing-feature h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
}

.bot-landing-feature p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* removed old accordion styles — see bot-landing-section-instructions */

/* Legacy light landing helpers (unused on dark landing) */
.bot-landing-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.25rem;
    height: 100%;
    background: #fff;
}

.bot-landing-instruction {
    border-left: 3px solid #026336;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.bot-landing-cta .btn-lg {
    padding: 0.75rem 2rem;
}

/* Hero CTA — buttons side by side on all screen sizes */
.bot-landing-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
}

.bot-landing-cta .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    margin-left: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 399.98px) {
    .bot-landing-cta .btn-lg {
        padding: 0.6rem 0.85rem;
        font-size: 0.9rem;
    }
}

/* All panel buttons — centered label/icon (not block/full-width) */
body.bot-panel-body .btn {
    text-align: center;
}

body.bot-panel-body .bot-panel-toolbar .btn,
body.bot-panel-body .bot-page-toolbar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.bot-panel-body .bot-list-col-actions {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    padding: 0.35rem 0.45rem !important;
    line-height: 1.2;
}

body.bot-panel-body .bot-index-table thead .bot-list-col-actions {
    display: table-cell !important;
    font-size: 0.75rem;
    white-space: nowrap;
}

body.bot-panel-body .bot-index-table tbody td.bot-list-col-actions {
    display: table-cell !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

/* Grid tables — action buttons in one horizontal row */
body.bot-panel-body .gridview.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

body.bot-panel-body .bot-grid-actions-wrap {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

body.bot-panel-body .bot-grid-actions-wrap .bot-grid-action-btn {
    float: none !important;
    display: inline-flex !important;
}

body.bot-panel-body .bot-grid-action-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    min-width: 1.65rem;
    max-width: 1.65rem;
    padding: 0 !important;
    line-height: 1;
    flex-shrink: 0;
}

body.bot-panel-body .bot-grid-action-icon {
    font-size: 12px !important;
    line-height: 1;
    width: 1em;
    text-align: center;
    margin: 0 !important;
}

/* Bot list — all columns visible, horizontal scroll on narrow screens */
body.bot-panel-body .bot-index-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

body.bot-panel-body .bot-index-grid.gridview.table-responsive {
    overflow: visible;
    display: block;
    width: 100%;
}

body.bot-panel-body .bot-index-table {
    width: 100%;
    table-layout: auto;
    margin-bottom: 0;
}

body.bot-panel-body .bot-list-col-id {
    width: 2.75rem;
    max-width: 2.75rem;
    white-space: nowrap;
    text-align: center;
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
}

body.bot-panel-body .bot-list-col-name {
    width: auto;
    min-width: max-content;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    line-height: 1.25;
}

body.bot-panel-body .bot-list-col-type {
    width: auto;
    min-width: 7rem;
    max-width: none;
    white-space: nowrap;
    text-align: center;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
}

body.bot-panel-body .bot-list-col-visible {
    width: auto;
    min-width: 6.5rem;
    max-width: none;
    white-space: nowrap;
    text-align: center;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
}

body.bot-panel-body .bot-list-col-visible .badge {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.25em 0.55em;
}

body.bot-panel-body .bot-index .bot-grid-actions-wrap {
    display: inline-flex !important;
    flex-flow: column nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    vertical-align: middle;
}

body.bot-panel-body .bot-index .bot-grid-actions-wrap .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none;
    margin: 0;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    padding: 0 !important;
    line-height: 1;
}

body.bot-panel-body .bot-index-table th,
body.bot-panel-body .bot-index-table td {
    text-align: center;
    vertical-align: middle;
}

body.bot-panel-body .bot-index-table .bot-list-col-name {
    text-align: center;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

body.bot-panel-body .bot-index-table .bot-list-col-id .form-control {
    max-width: 2.5rem;
    margin: 0 auto;
    padding: 0.2rem 0.25rem;
    text-align: center;
    font-size: 0.8125rem;
}

body.bot-panel-body .bot-index-table .bot-list-col-name .form-control,
body.bot-panel-body .bot-index-table .bot-list-col-type .form-control,
body.bot-panel-body .bot-index-table .bot-list-col-visible .form-control {
    padding: 0.2rem 0.35rem;
    font-size: 0.8125rem;
}

body.bot-panel-body .bot-grid-actions-wrap {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

body.bot-panel-body .bot-grid-actions-wrap .bot-grid-action-btn {
    float: none !important;
    display: inline-flex !important;
}

@media (min-width: 768px) {
    body.bot-panel-body .bot-list-col-type {
        min-width: 7.5rem;
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }

    body.bot-panel-body .bot-list-col-visible {
        min-width: 7rem;
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }

    body.bot-panel-body .bot-list-col-actions {
        width: 1%;
        padding: 0.35rem 0.5rem !important;
    }

    body.bot-panel-body .bot-index .bot-grid-actions-wrap {
        flex-flow: row nowrap !important;
        gap: 0.25rem;
    }
}

@media (max-width: 767.98px) {
    body.bot-panel-body .bot-index-table {
        table-layout: auto;
        min-width: 100%;
    }

    body.bot-panel-body .bot-index .bot-panel-table th,
    body.bot-panel-body .bot-index .bot-panel-table td {
        padding: 0.4rem 0.3rem;
        font-size: 0.8125rem;
        vertical-align: middle;
    }

    body.bot-panel-body .bot-index .card-body {
        padding-bottom: 4.5rem;
    }
}

/* Contact book settings + grid actions in contact list */
body.bot-panel-body .bot-contact-books-form .bot-grid-actions-wrap {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

body.bot-panel-body .bot-contact-books-form .bot-grid-action-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    min-width: 1.85rem;
    padding: 0 !important;
}
