/* Visual bridge between the bot dashboard and the main application's light UI. */
.bot-dashboard {
    --bot-navy: #35566f;
    --bot-blue: #608ab6;
    --bot-sky: #edf5fb;
    --bot-text: #34495a;
    --bot-muted: #7a8d9c;
    max-width: 1500px;
    padding: 18px 22px 30px;
}

.bot-dashboard-hero {
    min-height: 138px;
    padding: 25px 30px;
    color: var(--bot-text);
    background: #fff;
    border: 1px solid #dce5ec;
    border-top: 4px solid #608ab6;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(47, 76, 98, .07);
}

.bot-dashboard-hero:after {
    left: -50px;
    bottom: -105px;
    border-color: rgba(96, 138, 182, .06);
}

.bot-eyebrow {
    margin-bottom: 7px;
    padding: 4px 10px;
    color: #517da4;
    background: #edf5fb;
    border: 1px solid #d9e8f4;
    border-radius: 5px;
    font-size: 10px;
}

.bot-hero-copy h2 {
    margin-bottom: 7px;
    color: #35566f;
    font-size: 27px;
    font-weight: 700;
}

.bot-hero-copy p {
    color: #7a8d9c;
    font-size: 13px;
}

.bot-connection {
    min-width: 230px;
    padding: 13px 16px;
    color: #456274;
    background: #f5f8fa;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    backdrop-filter: none;
}

.bot-connection.is-online {
    background: #eef9f4;
    border-color: #cde9dc;
}

.bot-connection.is-offline {
    background: #fff5f3;
    border-color: #f0d4ce;
}

.bot-connection small {
    color: #8797a3;
}

.bot-connection.is-online .bot-connection-dot {
    background: #43a87b;
    box-shadow: 0 0 0 4px rgba(67, 168, 123, .12);
}

.bot-connection.is-offline .bot-connection-dot {
    background: #d96a5d;
    box-shadow: 0 0 0 4px rgba(217, 106, 93, .12);
}

.bot-stat-grid {
    gap: 12px;
    margin: 14px 0 18px;
}

.bot-stat-card {
    gap: 12px;
    min-height: 82px;
    padding: 15px 17px;
    border: 1px solid #dfe7ed;
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(47, 76, 98, .045);
}

.bot-stat-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 16px;
}

.bot-stat-card strong {
    color: #35566f;
    font-size: 22px;
}

.bot-dashboard-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 17px;
}

.bot-section-heading {
    margin: 4px 2px 11px;
}

.bot-section-heading h3,
.bot-panel-heading h3,
.bot-link-help h3 {
    color: #456b8a;
    font-size: 16px;
    font-weight: 700;
}

.bot-action-grid {
    gap: 11px;
}

.bot-action-card,
.bot-action-card.is-featured,
.bot-action-card.is-claim,
.bot-action-card.is-followup,
.bot-action-card.is-settings,
.bot-action-card.is-health,
.bot-action-card.is-summary,
.bot-action-card.is-message-alert,
.bot-action-card.is-group-category,
.bot-action-card.is-broadcast,
.bot-action-card.is-employee-sync,
.bot-action-card.is-unanswered {
    min-height: 104px;
    padding: 15px 16px;
    color: var(--bot-text);
    background: #fff;
    border: 1px solid #dde6ed;
    border-right: 4px solid #7ea1bf;
    border-radius: 9px;
    box-shadow: 0 3px 11px rgba(47, 76, 98, .045);
}

.bot-action-card.is-health,
.bot-action-card.is-claim,
.bot-action-card.is-group-category,
.bot-action-card.is-employee-sync {
    border-right-color: #55a984;
}

.bot-action-card.is-followup,
.bot-action-card.is-unanswered {
    border-right-color: #d6a451;
}

.bot-action-card.is-summary {
    border-right-color: #8572b6;
}

.bot-action-card.is-message-alert {
    border-right-color: #cf7777;
}

.bot-action-card:hover,
.bot-action-card:focus,
.bot-action-card.is-featured:hover,
.bot-action-card.is-featured:focus {
    color: var(--bot-text);
    background: #f7fbfe;
    border-color: #aac4d8;
    border-right-color: #608ab6;
    box-shadow: 0 6px 16px rgba(52, 88, 116, .09);
    transform: translateY(-1px);
}

.bot-action-icon,
.bot-action-card.is-featured .bot-action-icon,
.bot-action-card.is-settings .bot-action-icon,
.bot-action-card.is-health .bot-action-icon,
.bot-action-card.is-summary .bot-action-icon,
.bot-action-card.is-message-alert .bot-action-icon,
.bot-action-card.is-group-category .bot-action-icon,
.bot-action-card.is-broadcast .bot-action-icon,
.bot-action-card.is-employee-sync .bot-action-icon,
.bot-action-card.is-unanswered .bot-action-icon,
.bot-action-card.is-claim .bot-action-icon,
.bot-action-card.is-followup .bot-action-icon {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
    color: #557fa3;
    background: #edf5fb;
    border-radius: 8px;
    font-size: 17px;
}

.bot-action-card.is-health .bot-action-icon,
.bot-action-card.is-claim .bot-action-icon,
.bot-action-card.is-group-category .bot-action-icon,
.bot-action-card.is-employee-sync .bot-action-icon {
    color: #378465;
    background: #e8f6f0;
}

.bot-action-card.is-followup .bot-action-icon,
.bot-action-card.is-unanswered .bot-action-icon {
    color: #a47323;
    background: #fff4df;
}

.bot-action-card.is-summary .bot-action-icon {
    color: #725fa5;
    background: #f0ecf9;
}

.bot-action-card.is-message-alert .bot-action-icon {
    color: #aa5c5c;
    background: #fbeeee;
}

.bot-action-card strong {
    margin-bottom: 4px;
    color: #3f6078;
    font-size: 13px;
}

.bot-action-card p,
.bot-action-card.is-featured p {
    color: #7c8d9a;
    font-size: 11px;
    line-height: 1.65;
}

.bot-action-arrow,
.bot-action-card.is-featured .bot-action-arrow {
    color: #9eb0bd;
}

.bot-action-count,
.bot-action-card.is-health .bot-action-count,
.bot-action-card.is-summary .bot-action-count {
    color: #55738a;
    background: #edf2f6;
    font-size: 9px;
}

.bot-panel {
    margin-top: 14px;
    padding: 18px;
    border: 1px solid #dde6ed;
    border-radius: 9px;
    box-shadow: 0 3px 11px rgba(47, 76, 98, .045);
}

.bot-panel-heading {
    margin-bottom: 14px;
}

.bot-command {
    padding: 11px 13px;
    background: #f8fafc;
    border-color: #e1e8ee;
    border-radius: 7px;
}

.bot-command:hover {
    background: #edf5fb;
    border-color: #bad0e1;
}

.bot-command code {
    color: #4c7699;
}

.bot-summary-list > div {
    padding: 9px 0;
    border-bottom-color: #e3e9ee;
}

.bot-run-numbers div {
    background: #f5f8fa;
    border: 1px solid #e5ebef;
    border-radius: 7px;
}

.bot-link-help {
    color: #526d80;
    background: #f3f8fc;
    border-color: #d8e6f0;
}

.bot-dashboard .btn-primary {
    background: #608ab6;
    border-color: #557fa8;
}

.bot-dashboard .btn-primary:hover,
.bot-dashboard .btn-primary:focus {
    background: #4f7da6;
    border-color: #476f93;
}

@media (min-width: 1400px) {
    .bot-action-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .bot-dashboard-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .bot-dashboard {
        padding: 10px;
    }

    .bot-dashboard-hero {
        padding: 20px 17px;
    }

    .bot-hero-copy h2 {
        font-size: 23px;
    }
}
