/* Switch to Publisher — icopify.co */

body.dashboard-switch-publisher-page .dashboard-layout {
    display: block;
}

body.dashboard-switch-publisher-page .dashboard-main {
    margin-left: 280px;
    width: calc(100% - 280px);
    background: #eef1f6;
    min-height: 100vh;
}

body.dashboard-switch-publisher-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-switch-publisher-page .dashboard-content {
    padding: 76px 24px 90px;
    max-width: 860px;
    margin: 0 auto;
}

.dash-switch-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.dash-switch-card-head {
    background: #1e3a5f;
    color: #fff;
    padding: 14px 22px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.dash-switch-card-body {
    padding: 24px 22px 28px;
}

.dash-switch-intro {
    margin: 0 0 20px;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #334155;
}

.dash-switch-alert-danger {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
    color: #991b1b;
    font-size: 0.875rem;
    line-height: 1.5;
}

.dash-switch-alert-danger i {
    color: #dc2626;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.dash-switch-alert-warn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    color: #c2410c;
    font-size: 0.8125rem;
    line-height: 1.5;
    font-weight: 600;
}

.dash-switch-alert-warn i {
    flex-shrink: 0;
    margin-top: 2px;
}

.dash-switch-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
}

.dash-switch-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #334155;
    cursor: pointer;
}

.dash-switch-check input {
    margin-top: 4px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.btn-switch-publisher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
    font-family: inherit;
}

.btn-switch-publisher:hover:not(:disabled) {
    background: #1d4ed8;
}

.btn-switch-publisher:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    body.dashboard-switch-publisher-page .dashboard-main {
        margin-left: 0;
        width: 100%;
    }

    body.dashboard-switch-publisher-page .dashboard-header {
        left: 0;
    }
}
