/* Dashboard Activity Log — icopify.co */

body.dashboard-activity-page .dashboard-layout {
    display: block;
}

body.dashboard-activity-page .dashboard-main {
    margin-left: 280px;
    width: calc(100% - 280px);
    background: #eef1f6;
    min-height: 100vh;
}

body.dashboard-activity-page .dashboard-header {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    z-index: 250;
    background: #fff;
    justify-content: flex-end;
    min-height: 56px;
}

body.dashboard-activity-page .dashboard-content {
    padding: 76px 24px 90px;
    max-width: 1100px;
    margin: 0 auto;
}

.dash-activity-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    min-height: 420px;
    overflow: hidden;
}

.dash-activity-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.dash-activity-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dash-activity-header h1 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #334155;
}

.dash-activity-sub {
    margin: 10px 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

.dash-activity-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.dash-activity-filter {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 0.8125rem;
    cursor: pointer;
    font-family: inherit;
}

.dash-activity-filter:hover {
    border-color: #cbd5e1;
    color: #334155;
}

.dash-activity-filter.active {
    background: #1e3a5f;
    border-color: #1e3a5f;
    color: #fff;
}

.btn-activity-sync {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.8125rem;
    cursor: pointer;
    font-family: inherit;
}

.btn-activity-sync:hover {
    background: #f1f5f9;
}

.dash-activity-empty {
    text-align: center;
    padding: 56px 24px;
    color: #64748b;
}

.dash-activity-empty i {
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.dash-activity-empty p {
    margin: 0 0 6px;
    font-weight: 600;
    color: #475569;
}

.dash-activity-empty span {
    font-size: 0.8125rem;
}

.dash-activity-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.dash-activity-link:hover {
    text-decoration: underline;
}

.dash-activity-tag {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #7c3aed;
    vertical-align: middle;
}

.dash-activity-tag-wallet {
    color: #0369a1;
}

.dash-activity-body {
    padding: 0;
    min-height: 360px;
}

.dash-activity-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.dash-activity-row:last-child {
    border-bottom: none;
}

.dash-activity-row:hover {
    background: #fafbfc;
}

.dash-activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.dash-activity-icon.deposit {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.dash-activity-icon.order {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.dash-activity-icon.info {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
}

.dash-activity-text {
    flex: 1;
    min-width: 0;
}

.dash-activity-text p {
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.45;
}

.dash-activity-text time {
    font-size: 0.78rem;
    color: #94a3b8;
}

@media (max-width: 992px) {
    body.dashboard-activity-page .dashboard-main {
        margin-left: 0;
        width: 100%;
    }

    body.dashboard-activity-page .dashboard-header {
        left: 0;
    }
}
