.dashboard-page { padding-top: 45px !important; padding-bottom: 48px; }
.dashboard-heading { margin-bottom: 26px !important; }
.dashboard-heading h1 { font-size: 35px; font-weight: 750; margin: 12px 0 10px; letter-spacing: -.045em; }
.dashboard-heading .text-muted { margin-bottom: 0; font-size: 12px; }
.content-wrapper .shorten-form { display: flex; flex-direction: row; gap: 20px; align-items: center; background: #edf2e5; border-color: #dce6d0; padding: 22px; }
.dashboard-form-intro { display: flex; align-items: center; gap: 13px; flex: 0 0 37%; }
.dashboard-form-intro .step-icon { background: #dce9cd; width: 38px; height: 38px; }
.dashboard-form-intro h2 { font-size: 15px; margin: 0 0 5px; }
.dashboard-form-intro p { font-size: 10px; color: var(--muted); margin: 0; }
.content-wrapper .shorten-form .card-body { flex: 1; padding: 0; }
.shorten-form .input-group { flex-wrap: nowrap; }
.shorten-form .form-control { padding: 13px; font-size: 11px; min-width: 0; }
.shorten-form .btn-primary { flex: 0 0 auto; font-size: 11px; display: flex; align-items: center; gap: 18px; padding: 13px 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 28px; }
.stat-box { background: #fff; padding: 23px; border: 1px solid var(--line); border-radius: 11px; text-align: left; }
.stat-box h3 { font-size: 10px; font-weight: 600; letter-spacing: 0; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.stat-box h3 i { font-size: 10px; color: #8ba273; }
.stat-box p { font-size: 30px; font-weight: 750; letter-spacing: -.04em; color: var(--primary-color); line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.stat-box:last-child p { font-size: 24px; padding-top: 5px; }
.content-wrapper .links-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-bottom: 20px; }
.links-toolbar h2 { display: flex; align-items: center; gap: 9px; font-size: 17px; margin-bottom: 7px; }
.links-toolbar p { color: var(--muted); font-size: 10px; margin-bottom: 0; }
.count-pill { padding: 3px 7px; border-radius: 5px; background: #edf2e5; color: #5a7b48; font-size: 10px; font-weight: 800; line-height: 1.2; }
.link-search { display: flex; align-items: center; gap: 9px; border: 1px solid #e0e6da; padding: 9px 12px; border-radius: 7px; background: #fafbf8; }
.link-search i { font-size: 10px; color: #96a089; }
.link-search input { width: 175px; min-width: 0; border: 0; background: transparent; outline: none; font-size: 10px; color: var(--ink); }
.link-search:focus-within { border-color: #8aaa77; box-shadow: 0 0 0 3px #95b37e20; }
.link-search input::placeholder { color: #6d7865; }
.table-responsive { margin-bottom: 0; }
.links-table { margin-bottom: 0; font-size: 11px; }
.links-table thead th { padding: 13px 12px; background: #f6f8f1; border-bottom: 1px solid #e6ebdd; color: #66735e; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; white-space: nowrap; }
.links-table thead th:first-child { border-radius: 7px 0 0 7px; }
.links-table thead th:last-child { border-radius: 0 7px 7px 0; }
.links-table tbody td { padding: 18px 12px; border-bottom: 1px solid #edf0e7; }
.links-table tbody tr:last-child td { border-bottom: 0; }
.links-table td:first-child a { font-weight: 700; text-decoration: none; max-width: 210px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.links-table td:first-child a:hover { text-decoration: underline; }
.links-table td:nth-child(2) { color: #66735e; font-size: 10px; max-width: 250px !important; }
.links-table td:nth-child(4) { color: #66735e; font-size: 10px; white-space: nowrap; }
.links-table .copy-btn { padding: 5px; border-radius: 5px; background: transparent; color: #96a089; font-size: 11px; }
.links-table .copy-btn:hover { background: #e9f0df; color: var(--primary-color); }
.links-table .clicks-badge { background: #edf3e3 !important; color: #52713e; font-size: 10px; font-weight: 800; padding: 5px 8px; border-radius: 5px; min-width: 28px; }
.links-table .btn-sm { font-size: 9px; padding: 7px 9px; border-radius: 6px; }
.links-table td:last-child { white-space: nowrap; }
.links-table .btn i { font-size: 9px; }
.links-table .btn-outline-danger { border-color: transparent; }
.empty-links { padding: 44px 20px; text-align: center; }
.empty-links .step-icon { margin: 0 auto 15px; }
.empty-links h3 { font-size: 17px; }
.empty-links p { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.stats-card { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.stats-card > .text-muted { font-size: 11px; }
.stats-card h2 { font-size: 18px; }
.stats-card .stats-grid { margin-top: 24px; }
.stats-card .stat-box { background: #f7f9f2; }
.stats-card .stat-box p { font-size: 19px; }
.chart-container { position: relative; height: 290px; width: 100%; margin-bottom: 20px; }
.loading-overlay { position: absolute; inset: 0; background: #fffffff0; display: flex; align-items: center; justify-content: center; z-index: 10; border-radius: 10px; }
.no-data { padding: 30px; color: var(--muted); text-align: center; }
.stat-cards .stat-card { border: 1px solid var(--line); box-shadow: none; border-radius: 9px; background: #fbfcf8; }
.stat-cards .stat-card h3 { font-size: 11px; letter-spacing: 0; color: var(--muted); }
.stat-cards .stat-value { color: var(--primary-color); font-size: 27px; }
.stat-cards .stat-value.small { font-size: 20px; padding-top: 7px; }
.content-wrapper .filter-bar { background: #edf2e6; border: 1px solid #dce5d2; border-radius: 10px; }
.filter-bar .form-label { font-size: 11px; }
.filter-bar .form-select { font-size: 11px; }
.breadcrumb { font-size: 11px; }
.content-wrapper .alert-info a { font-weight: 700; }
.content-wrapper .table thead th { font-size: 10px; color: #6f7e65; }
.content-wrapper .table tbody td { font-size: 11px; }
@media (max-width: 1100px) {
    .dashboard-form-intro { flex-basis: 36%; }
    .dashboard-form-intro h2 { font-size: 13px; }
    .dashboard-form-intro p { font-size: 9px; }
    .links-table td:first-child a { max-width: 175px; }
    .stat-box { padding: 20px; }
}
@media (max-width: 991px) {
    .dashboard-page { padding-top: 30px !important; }
    .dashboard-form-intro { flex-basis: auto; }
    .content-wrapper .shorten-form { display: block; }
    .content-wrapper .shorten-form .card-body { margin-top: 20px; }
    .links-table td:first-child a { max-width: 160px; }
    .links-table { min-width: 790px; }
    .stat-box { padding: 18px; }
    .stat-box p { font-size: 27px; }
    .stat-box h3 { font-size: 9px; }
}
@media (max-width: 700px) {
    .dashboard-heading h1 { font-size: 29px; }
    .dashboard-heading .text-muted { font-size: 11px; max-width: 320px; }
    .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .stat-box h3 { font-size: 10px; margin-bottom: 12px; }
    .stat-box h3 i { font-size: 9px; }
    .stat-box p { font-size: 27px; }
    .stat-box:last-child p { font-size: 21px; }
    .content-wrapper .links-toolbar { flex-direction: column; align-items: stretch; gap: 18px; }
    .links-toolbar h2 { font-size: 16px; }
    .link-search input { width: 100%; }
    .content-wrapper .card-body { padding: 18px; }
    .shorten-form .input-group { display: flex; flex-direction: column; gap: 10px; }
    .shorten-form .input-group > .form-control { width: 100%; border-radius: 8px !important; padding: 14px; }
    .shorten-form .input-group > .btn { border-radius: 8px !important; margin: 0; justify-content: center; padding: 13px; }
    .stats-card { padding: 20px; }
    .stats-card h2 { overflow-wrap: anywhere; }
    .stat-cards { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    .content-wrapper .container > .d-flex { flex-wrap: wrap; gap: 15px; }
}
