/*
 * Shortly dark / black theme
 * Black background colour combination
 */
:root {
    --bg: #0a0a0a;
    --bg-deep: #050505;
    --surface: #121212;
    --surface-solid: #141414;
    --surface-soft: #1a1a1a;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #f0f0f0;
    --muted: #9a9a9a;
    --muted-2: #6e6e6e;
    --primary: #2ce58b;
    --primary-2: #10bd71;
    --blue: #3b8cff;
    --cyan: #28c7e9;
    --purple: #8b5cf6;
    --danger: #ff5d72;
    --warning: #f4ba3f;
    --success: #20d783;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 13px 34px rgba(0, 0, 0, 0.35);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
}
html { color-scheme: dark; }
body {
    color: var(--text);
    background:
        radial-gradient(circle at 12% 0%, rgba(44, 229, 139, 0.08), transparent 28%),
        radial-gradient(circle at 95% 8%, rgba(59, 140, 255, 0.1), transparent 30%),
        linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
}
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:where(button, a, input, summary):focus-visible {
    outline: 3px solid rgba(44, 229, 139, 0.4);
    outline-offset: 3px;
}
button:disabled { cursor: wait; opacity: 0.68; }

/* Public pages */
.public-body { background: transparent; }
.public-header {
    border-color: var(--line);
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(16px);
}
.public-header-inner, .public-footer-inner { max-width: 1240px; }
.brand-mark {
    color: #04130d;
    background: linear-gradient(145deg, #2ce58b, #10bd71);
    box-shadow: 0 8px 20px rgba(44, 229, 139, 0.22);
}
.brand-copy strong { color: var(--text); }
.nav-link { color: var(--muted); }
.nav-link:hover { color: var(--primary); }
.button-primary {
    color: #04130d;
    background: linear-gradient(135deg, #2ce58b, #10bd71);
    box-shadow: 0 8px 20px rgba(44, 229, 139, 0.22);
}
.button-secondary {
    color: var(--text);
    border-color: var(--line);
    background: var(--surface-soft);
}
.button-danger-soft {
    color: #ff91a2;
    border-color: rgba(255, 93, 114, 0.28);
    background: rgba(255, 93, 114, 0.1);
}
.public-footer {
    border-color: var(--line);
    background: rgba(10, 10, 10, 0.6);
}
.glass-card, .auth-card, .signin-panel, .expired-card {
    color: var(--text);
    border-color: var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.hero-grid, .signin-page, .auth-layout, .expired-wrap { background: transparent; }
.hero-grid::before {
    background-image:
        linear-gradient(rgba(44, 229, 139, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 229, 139, 0.04) 1px, transparent 1px);
}
.hero-title, .signin-showcase h1, .auth-showcase h1 { color: var(--text); }
.hero-title span {
    background: linear-gradient(100deg, #2ce58b, #28c7e9 58%, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
}
.hero-label, .auth-badge, .signin-kicker {
    color: var(--primary);
    border-color: rgba(44, 229, 139, 0.25);
    background: rgba(44, 229, 139, 0.08);
}
.hero-copy, .auth-copy, .signin-showcase p { color: var(--muted); }
.input-shell {
    border-color: var(--line);
    background: var(--surface-soft);
}
.input-shell:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(44, 229, 139, 0.12);
}
.input-shell input { color: var(--text); }
.input-shell input::placeholder { color: #6a6a6a; }
.flash-success {
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(6, 78, 59, 0.35);
}
.flash-error, .signin-alert {
    color: #fda4af;
    border-color: rgba(244, 63, 94, 0.3);
    background: rgba(127, 29, 29, 0.35);
}

/* Dashboard shell */
.dashboard-body { background: transparent; }
.dashboard-body .sidebar {
    width: 244px;
    padding: 16px 13px;
    border-color: var(--line);
    background: #0d0d0d;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.4);
}
.dashboard-body .dashboard-shell { margin-left: 244px; }
.dashboard-body .sidebar-brand { padding: 5px 7px 18px; border-color: var(--line); }
.dashboard-body .sidebar-brand-link strong,
.dashboard-body .topbar-title strong,
.dashboard-body .sidebar-user-copy strong { color: var(--text); }
.dashboard-body .sidebar-link,
.dashboard-body .sidebar-logout {
    min-height: 44px;
    border-radius: 11px;
    color: var(--muted);
    font-size: 0.86rem;
}
.dashboard-body .sidebar-link:hover,
.dashboard-body .sidebar-link.active {
    color: var(--primary);
    border-color: var(--line);
    background: #1a1a1a;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}
.dashboard-body .sidebar-link.active::before {
    background: var(--primary);
    box-shadow: none;
}
.dashboard-body .sidebar-link.active svg { color: var(--primary); }
.dashboard-body .sidebar-user { border-color: var(--line); }
.dashboard-body .sidebar-logout { color: #ff91a2; }
.dashboard-body .sidebar-logout:hover { background: rgba(255, 93, 114, 0.12); }
.dashboard-body .topbar-avatar,
.dashboard-body .avatar {
    color: #04130d;
    background: linear-gradient(145deg, #2ce58b, #10bd71);
    box-shadow: 0 8px 20px rgba(44, 229, 139, 0.2);
}
.dashboard-body .dashboard-topbar {
    min-height: 76px;
    padding-block: 11px;
    border-color: var(--line);
    background: rgba(10, 10, 10, 0.9);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(14px);
}
.dashboard-body .icon-button {
    color: var(--text);
    border-color: var(--line);
    background: #1a1a1a;
}
.dashboard-body .topbar-search {
    min-height: 44px;
    border-color: var(--line);
    border-radius: 11px;
    background: #1a1a1a;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}
.dashboard-body .topbar-search input { color: var(--text); }
.dashboard-body .topbar-search input::placeholder { color: #6a6a6a; }
.dashboard-body .dashboard-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px 24px;
}
.dashboard-body .dashboard-hero {
    padding: clamp(19px, 2.2vw, 27px);
    border-color: var(--line);
    border-radius: 16px;
    background: #121212;
    box-shadow: var(--shadow-soft);
}
.dashboard-body .dashboard-hero-v2::after { background: rgba(44, 229, 139, 0.06); }
.dashboard-body .hero-copy-group strong { color: var(--text); }
.dashboard-body .service-pill.is-online {
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(6, 78, 59, 0.35);
}
.dashboard-body .service-pill.is-offline {
    color: #fda4af;
    border-color: rgba(244, 63, 94, 0.25);
    background: rgba(127, 29, 29, 0.35);
}
.dashboard-body .stat-card {
    padding: 15px;
    border-color: var(--line);
    border-radius: 13px;
    background: #1a1a1a;
}
.dashboard-body .stat-card strong {
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.dashboard-body .stat-icon {
    color: var(--primary);
    background: rgba(44, 229, 139, 0.1);
}
.dashboard-body .google-stat {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.12);
}
.dashboard-body .queue-stat {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
}

/* Work surfaces */
.dashboard-body .panel,
.dashboard-body .admin-surface {
    padding: clamp(18px, 2vw, 26px);
    border-color: var(--line);
    border-radius: 16px;
    background: #121212;
    box-shadow: var(--shadow-soft);
}
.dashboard-body .panel-title h2,
.dashboard-body .admin-section-head h2,
.dashboard-body .admin-page-head h1 { color: var(--text); }
.dashboard-body .panel-icon {
    color: var(--primary);
    background: rgba(44, 229, 139, 0.1);
}
.dashboard-body .form-control-wrap > span { color: var(--muted); }
.dashboard-body .primary-action,
.dashboard-body .update-save,
.dashboard-body .admin-save {
    color: #04130d;
    background: linear-gradient(135deg, #2ce58b, #10bd71);
    box-shadow: 0 8px 20px rgba(44, 229, 139, 0.2);
}
.dashboard-body .primary-action:hover,
.dashboard-body .update-save:hover,
.dashboard-body .admin-save:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}
.dashboard-body .count-pill {
    color: var(--primary);
    background: rgba(44, 229, 139, 0.1);
}
.dashboard-body .link-card {
    border-color: var(--line);
    border-radius: 13px;
    background: #161616;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
}
.dashboard-body .link-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
    background: #1c1c1c;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.dashboard-body .compact-short-url,
.dashboard-body .google-url-block a { color: var(--primary); }
.dashboard-body .copy-button {
    color: #b9d5ff;
    border-color: rgba(59, 140, 255, 0.22);
    background: rgba(59, 140, 255, 0.1);
}
.dashboard-body .copy-button:hover {
    border-color: rgba(59, 140, 255, 0.4);
    background: rgba(59, 140, 255, 0.16);
}
.dashboard-body .copy-button.is-copied {
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(6, 78, 59, 0.35);
}
.dashboard-body .compact-clicks strong {
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.05rem;
}
.dashboard-body .inline-editor { border-color: var(--line); }
.dashboard-body .inline-editor summary { color: var(--primary); }
.dashboard-body .danger-action {
    color: #ff91a2 !important;
    border-color: rgba(244, 63, 94, 0.28) !important;
    background: rgba(244, 63, 94, 0.1) !important;
}
.dashboard-body .danger-action:hover {
    background: rgba(244, 63, 94, 0.18) !important;
    border-color: rgba(244, 63, 94, 0.4) !important;
}
.dashboard-body .workspace-card {
    min-height: 180px;
    border-color: var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, #141414, #1a1a1a);
    box-shadow: var(--shadow-soft);
}
.dashboard-body .workspace-card:hover {
    border-color: rgba(44, 229, 139, 0.3);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4);
}
.dashboard-body .workspace-card > span {
    color: var(--primary);
    background: rgba(44, 229, 139, 0.1);
}
.dashboard-body .google-workspace {
    background: linear-gradient(145deg, #141414, #1a1525);
}
.dashboard-body .google-create-panel,
.dashboard-body .google-panel { background: #121212; }
.dashboard-body .google-create-panel .primary-action {
    color: #04130d;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}
.dashboard-body .google-panel-icon {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.12);
}
.dashboard-body .google-url-block {
    border-color: var(--line);
    background: #1a1a1a;
}
.dashboard-body .google-final a { color: #72f6ad; }
.dashboard-body .google-click-count {
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.25);
    background: rgba(139, 92, 246, 0.1);
}
.dashboard-body .google-click-count strong { color: #e9d5ff; }
.dashboard-body .google-click-count small { color: #a78bfa; }
.dashboard-body .google-wait {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
}
.dashboard-body .google-error {
    color: #fda4af;
    background: rgba(127, 29, 29, 0.3);
}
.dashboard-body .retry-button {
    color: #fda4af;
    border-color: rgba(244, 63, 94, 0.28);
    background: rgba(244, 63, 94, 0.1);
}
.dashboard-body .live-pill {
    color: #6ee7b7;
    background: rgba(6, 78, 59, 0.35);
}
.dashboard-body .google-process-steps { border-color: var(--line); }
.dashboard-body .google-process-steps .is-current { color: #c4b5fd; }
.dashboard-body .google-process-steps .is-current b {
    color: #fff;
    background: #7c3aed;
}
.dashboard-body .empty-state { color: var(--text); }
.dashboard-body .dashboard-footer {
    border-color: var(--line);
    color: var(--muted);
    background: rgba(10, 10, 10, 0.5);
}
.dashboard-body .toast {
    color: #04130d;
    border-color: #10bd71;
    background: #2ce58b;
    box-shadow: 0 16px 34px rgba(44, 229, 139, 0.25);
}

/* Admin surfaces */
.admin-dashboard-body .admin-page-head-premium h1 {
    color: var(--text);
    background: none;
    -webkit-text-fill-color: initial;
}
.admin-dashboard-body .admin-metric {
    border-color: var(--line);
    background: #1a1a1a;
}
.admin-dashboard-body .admin-metric strong,
.admin-dashboard-body .admin-empty h3 { color: var(--text); }
.admin-dashboard-body .admin-metric > span { background: #121212; }
.admin-dashboard-body .admin-filterbar {
    border-color: var(--line);
    background: rgba(18, 18, 18, 0.94);
}
.admin-dashboard-body .admin-search {
    border-color: var(--line);
    background: #1a1a1a;
}
.admin-dashboard-body .admin-search input { color: var(--text); }
.admin-dashboard-body .admin-search button {
    color: #04130d;
    background: var(--primary);
}
.admin-dashboard-body .status-tabs a { color: var(--muted); }
.admin-dashboard-body .status-tabs a:hover,
.admin-dashboard-body .status-tabs a.active {
    color: var(--primary);
    background: rgba(44, 229, 139, 0.1);
}
.admin-dashboard-body .member-card,
.admin-dashboard-body .setting-switch {
    border-color: var(--line);
    background: #1a1a1a;
}
.admin-dashboard-body .member-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: #222;
}
.admin-dashboard-body .member-identity a,
.admin-dashboard-body .member-identity small { color: var(--muted); }
.admin-dashboard-body .member-status.status-active {
    color: #6ee7b7;
    background: rgba(6, 78, 59, 0.35);
}
.admin-dashboard-body .member-status.status-pending {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
}
.admin-dashboard-body .member-status.status-banned {
    color: #fda4af;
    background: rgba(127, 29, 29, 0.35);
}
.admin-dashboard-body .ban-form input,
.admin-dashboard-body .limit-grid input {
    color: var(--text);
    border-color: var(--line);
    background: #121212;
}
.admin-dashboard-body .pagination a {
    color: var(--muted);
    border-color: var(--line);
}
.admin-dashboard-body .pagination a.active {
    color: #04130d;
    background: var(--primary);
}
.admin-dashboard-body .admin-info-card {
    border-color: var(--line);
    background: #121212;
}

/* Link actions column (update + delete stacked) */
.link-actions-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    align-items: stretch;
}
.link-actions-col .compact-update-form {
    margin: 0;
    width: 100%;
}
.link-actions-col .delete-form {
    margin: 0;
    display: flex;
    justify-content: flex-end; /* Update বাটনের ঠিক নিচে ডানদিকে */
    width: 100%;
}
.danger-action-sm {
    min-height: 36px !important;
    height: 36px !important;
    max-height: 36px !important;
    padding: 0 14px !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
    width: auto !important;
    min-width: 88px;
    max-width: fit-content;
    justify-content: center;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto !important;
}
.danger-action-sm svg {
    width: 14px !important;
    height: 14px !important;
}
/* app.css conflict override */
.links-grid > .link-card .delete-form,
.link-actions-col .delete-form {
    width: auto !important;
    justify-self: end;
    margin-left: 0 !important;
}
.links-grid > .link-card .delete-form .danger-action-sm {
    width: auto !important;
}
@media (max-width: 680px) {
    .link-actions-col .delete-form {
        justify-content: stretch;
        width: 100% !important;
    }
    .danger-action-sm {
        width: 100% !important;
        max-width: none;
    }
}

/* Custom confirm modal */
.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.confirm-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.confirm-modal {
    width: min(100%, 400px);
    padding: 28px 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: #161616;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.22s ease;
}
.confirm-overlay.is-open .confirm-modal {
    transform: translateY(0) scale(1);
}
.confirm-modal-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ff91a2;
    background: rgba(244, 63, 94, 0.12);
}
.confirm-modal-icon svg {
    width: 24px;
    height: 24px;
}
.confirm-modal h3 {
    margin: 0 0 8px;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text);
}
.confirm-modal p {
    margin: 0 0 22px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}
.confirm-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.confirm-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.88rem;
    border: 1px solid transparent;
    cursor: pointer;
}
.confirm-btn-no {
    color: var(--text);
    border-color: var(--line);
    background: #1a1a1a;
}
.confirm-btn-no:hover {
    background: #222;
    border-color: rgba(255, 255, 255, 0.16);
}
.confirm-btn-yes {
    color: #fff;
    background: linear-gradient(135deg, #e11d48, #be123c);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.28);
}
.confirm-btn-yes:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* Google cards aligned to normal link-card style */
.dashboard-body .google-links-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}
.dashboard-body .google-link-card.link-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 120px 130px minmax(280px, 0.9fr);
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 13px;
    background: #161616;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
}
.dashboard-body .google-link-card.link-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
    background: #1c1c1c;
}
.google-status-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.google-status-inline.status-ready {
    color: #6ee7b7;
    background: rgba(6, 78, 59, 0.35);
}
.google-status-inline.status-queued,
.google-status-inline.status-processing {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
}
.google-status-inline.status-failed {
    color: #fda4af;
    background: rgba(127, 29, 29, 0.35);
}
.google-status-inline svg {
    width: 12px;
    height: 12px;
}

/* Responsive system */
body.nav-open { overflow: hidden; }
.sidebar-nav { overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 1040px) {
    .dashboard-body .sidebar { width: min(86vw, 290px); }
    .dashboard-body .dashboard-shell { margin-left: 0; }
}
@media (max-width: 1180px) {
    .dashboard-body .google-link-card.link-card {
        grid-template-columns: minmax(0, 1fr) 110px 125px;
    }
    .dashboard-body .google-link-card .link-actions-col {
        grid-column: 1 / -1;
    }
}
@media (max-width: 800px) {
    .dashboard-body .dashboard-main { padding-inline: 16px; }
    .dashboard-body .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-body .member-actions { justify-content: flex-start; }
}
@media (max-width: 680px) {
    .public-header-inner { min-height: 64px; padding-inline: 14px; }
    .public-main { min-width: 0; }
    .dashboard-body .dashboard-main { padding: 12px; }
    .dashboard-body .dashboard-topbar { min-height: 68px; padding: 10px 12px; }
    .dashboard-body .dashboard-hero,
    .dashboard-body .panel,
    .dashboard-body .admin-surface { border-radius: 14px; }
    .dashboard-body .stat-card { min-height: 76px; padding: 12px; }
    .dashboard-body .link-card,
    .dashboard-body .google-link-card.link-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .dashboard-body .compact-short-url,
    .dashboard-body .compact-current-url { white-space: normal; overflow-wrap: anywhere; }
    .dashboard-body .google-card-meta { width: 100%; justify-content: space-between; }
    .dashboard-body .google-card-meta > small { white-space: normal; text-align: right; }
    .dashboard-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
}
@media (max-width: 480px) {
    .dashboard-body .stats-grid,
    .dashboard-body .admin-metrics { grid-template-columns: 1fr 1fr; }
    .dashboard-body .stat-card { align-items: flex-start; }
    .dashboard-body .panel-heading { align-items: flex-start; }
    .public-nav { gap: 4px; }
    .public-nav .nav-link { padding-inline: 8px; }
    .public-nav .button { padding-inline: 12px; }
}
@media (max-width: 360px) {
    .dashboard-body .stats-grid,
    .dashboard-body .admin-metrics { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
@media (max-width: 1040px) {
    .dashboard-body .dashboard-main {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 16px;
    }
}
@media (max-width: 680px) {
    .dashboard-body .dashboard-main { padding: 10px; }
    .dashboard-body .dashboard-main > * + * { margin-top: 12px; }
}


/* ===== FORCE Google cards = Normal cards (same UI) ===== */
.dashboard-body .google-links-grid,
.dashboard-body .links-grid.google-links-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
}
.dashboard-body .google-link-card.link-card,
.dashboard-body article.google-link-card.link-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 120px 130px minmax(280px, 0.9fr) !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 18px !important;
    border-radius: 13px !important;
    background: #161616 !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25) !important;
}
.dashboard-body .google-link-card .compact-link-main,
.dashboard-body .google-link-card .compact-clicks,
.dashboard-body .google-link-card > .copy-button,
.dashboard-body .google-link-card .link-actions-col {
    min-width: 0;
}
.dashboard-body .google-link-card > .copy-button {
    width: auto !important;
    min-height: 45px;
    justify-self: center;
}
.dashboard-body .google-link-card .link-actions-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: stretch !important;
}
.dashboard-body .google-link-card .compact-update-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
}
.dashboard-body .google-link-card .delete-form {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
}
.dashboard-body .google-link-card .danger-action-sm {
    width: auto !important;
    min-width: 88px;
}
@media (max-width: 1180px) {
    .dashboard-body .google-link-card.link-card {
        grid-template-columns: minmax(0, 1fr) 110px 125px !important;
    }
    .dashboard-body .google-link-card .link-actions-col {
        grid-column: 1 / -1 !important;
    }
}
@media (max-width: 680px) {
    .dashboard-body .google-link-card.link-card {
        grid-template-columns: 1fr !important;
    }
    .dashboard-body .google-link-card > .copy-button {
        width: 100% !important;
        justify-self: stretch;
    }
}
