/* Easy Flows - Central de Ajuda e Tours */

.ef-help-tours-sidebar {
    color: #d9e2ec;
}

.ef-help-tours-sidebar.is-active {
    color: #fff;
    background: rgba(23, 162, 184, 0.18);
}

.ef-help-tours-panel .easy-flows-overlay-body {
    padding-top: 14px;
}

.ef-help-tours-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ef-help-tours-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ef-help-tours-close:hover,
.ef-help-tours-close:focus {
    background: #eef2f7;
    color: #1f2937;
    outline: none;
}

.ef-help-tours-progress {
    border: 1px solid #e5edf5;
    background: #f8fbff;
    border-radius: 12px;
    padding: 11px 12px;
    margin-bottom: 12px;
}

.ef-help-tours-progress-copy {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #334155;
    font-size: 0.82rem;
}

.ef-help-tours-progress-copy strong {
    color: #0f172a;
}

.ef-help-tours-progress-copy span {
    margin-left: auto;
    color: #64748b;
    font-weight: 700;
}

.ef-help-tours-progress-track {
    height: 5px;
    margin-top: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.ef-help-tours-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #17a2b8;
    transition: width 0.2s ease;
}

.ef-help-tours-search {
    position: relative;
    margin-bottom: 12px;
}

.ef-help-tours-search > i {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.82rem;
    pointer-events: none;
}

.ef-help-tours-search input {
    padding-left: 32px;
    border-radius: 10px;
    border-color: #dbe4ee;
}

.ef-help-tours-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 4px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #f1f5f9;
}

.ef-help-tours-tab {
    border: 0;
    border-radius: 9px;
    padding: 7px 9px;
    background: transparent;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.ef-help-tours-tab:hover:not(:disabled),
.ef-help-tours-tab.is-active {
    background: #fff;
    color: #0f6073;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.ef-help-tours-tab:disabled {
    opacity: 0.45;
    cursor: default;
}

.ef-help-tours-state-warning {
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 9px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.76rem;
}

.ef-help-tours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ef-help-tour-card {
    border: 1px solid #e6edf4;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.035);
}

.ef-help-tour-card:hover {
    border-color: #cbdbe8;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.ef-help-tour-card-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ef-help-tour-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #e8f7fb;
    color: #0f6073;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ef-help-tour-title-wrap {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ef-help-tour-title-wrap h6 {
    margin: 2px 0 0;
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
}

.ef-help-tour-status {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 7px;
    font-size: 0.67rem;
    font-weight: 700;
    white-space: nowrap;
}

.ef-help-tour-status.is-completed {
    background: #ecfdf5;
    color: #047857;
}

.ef-help-tour-status.is-progress {
    background: #eff6ff;
    color: #1d4ed8;
}

.ef-help-tour-status.is-dismissed {
    background: #f8fafc;
    color: #64748b;
}

.ef-help-tour-status.is-new {
    background: #fff7ed;
    color: #c2410c;
}

.ef-help-tour-card > p {
    margin: 9px 0 10px;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.45;
}

.ef-help-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #64748b;
    font-size: 0.72rem;
}

.ef-help-tour-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid #f0f4f8;
}

.ef-help-tour-context {
    min-width: 0;
    flex: 1;
    color: #94a3b8;
    font-size: 0.7rem;
}

.ef-help-tour-actions .btn {
    border-radius: 9px;
    white-space: nowrap;
}

.ef-help-tours-empty {
    padding: 24px 12px;
    text-align: center;
    color: #64748b;
    font-size: 0.82rem;
}

@media (max-width: 767.98px) {
    .ef-help-tour-title-wrap {
        flex-wrap: wrap;
    }

    .ef-help-tour-status {
        margin-left: 0;
    }

    .ef-help-tour-actions {
        align-items: flex-end;
    }
}
