/* Admin foundation: header, sidebar, dashboard, tables and dialogs. */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');
.sidebar nav a,
.sidebar nav a.active {
    font-weight: 500 !important;
}
:root {
    --ink: #0b1739;
    --muted: #77839b;
    --blue: #0074fa;
    --chart-0: #0077ff;
    --chart-1: #16bd70;
    --chart-2: #ff851b;
    --chart-3: #983bf3;
    --chart-4: #a9b2c2;
    --chart-5: #08cbd1;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #f5f7fd;
    color: var(--ink);
    font:
        400 14px/1.5 'Roboto',
        sans-serif;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    outline-offset: 4px;
}
button {
    cursor: pointer;
    border: 0;
}
button:hover,
a:hover {
    filter: brightness(0.96);
}
.icon {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
}
button .icon {
    vertical-align: middle;
}
.topbar {
    height: 78px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 23px;
    box-shadow: 0 3px 15px #273f7310;
}
.brand {
    width: 230px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 21px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: -0.7px;
}
.brand svg {
    width: 73px;
    height: 58px;
}
.brand b {
    font-size: 28px;
    line-height: 25px;
}
.brand b span {
    color: #ed491c;
}
.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 0;
    line-height: 14px;
}
.soft {
    background: #f5f8fc;
    border: 1px solid #edf0f7;
    border-radius: 7px;
    padding: 11px 14px;
}
.icon-button {
    padding: 9px;
}
.global-search {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f5f7fc;
    border: 1px solid #e3e8f0;
    box-shadow: inset 0 0 2px #d5dce7;
    border-radius: 8px;
    padding: 0 16px;
    flex: 1;
    color: #7d8ba2;
    max-width: 700px;
}
.global-search .icon {
    width: 19px;
}
.global-search input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    padding: 0;
}
.website {
    margin-left: auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}
.website .icon {
    width: 20px;
}
.bell {
    position: relative;
    padding: 6px;
}
.bell sup {
    position: absolute;
    right: 0;
    top: 0;
    background: #ff392a;
    border-radius: 10px;
    color: #fff;
    padding: 2px 4px;
    font-size: 12px;
}
.profile {
    display: flex;
    align-items: center;
    gap: 13px;
    white-space: nowrap;
    font-size: 13px;
}
.avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #e5ebf3;
    border-radius: 50%;
    color: #12305b;
}
.avatar .icon {
    width: 29px;
    height: 29px;
}
.profile small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}
.sidebar {
    position: fixed;
    left: 0;
    top: 78px;
    bottom: 0;
    width: 258px;
    background: white;
    overflow-y: auto;
    z-index: 15;
    padding: 14px 5px 15px;
    border-right: 1px solid #eff2f9;
    transition: transform 0.2s;
}
.sidebar nav {
    display: grid;
    gap: 5px;
}
.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 45px;
    padding: 10px 19px;
    border-radius: 7px;
    font-size: 14px;
}
.sidebar nav a.active {
    background: linear-gradient(110deg, #d4eaff, #c8e0fc);
    color: #006be8;
    font-weight: 600;
}
.sidebar .icon {
    width: 23px;
    height: 23px;
    color: #0c275b;
}
.sidebar .active .icon {
    color: #0076ff;
}
.chevron {
    margin-left: auto;
    font-size: 23px;
    font-weight: 400;
    color: #61728f;
}
.sidebar-footer {
    margin: 24px 20px 3px;
    font-size: 12px;
    color: #8390a5;
}
.online {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1aba75;
    margin-right: 8px;
}
main {
    margin-left: 258px;
    padding: 96px 18px 12px;
    transition: margin 0.2s;
}
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 10px 18px;
    gap: 20px;
}
h1 {
    margin: 0 0 2px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
}
p {
    line-height: 1.5;
}
.page-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}
.date-range {
    background: #fff;
    border: 1px solid #edf0f5;
    box-shadow: 0 2px 4px #18396506;
    border-radius: 7px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    white-space: nowrap;
}
.date-range .icon {
    width: 20px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 14px;
}
.stat {
    border-radius: 10px;
    min-height: 108px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 17px 16px;
    position: relative;
    overflow: hidden;
}
.stat.blue {
    background: #e4f1ff;
    color: #0076fd;
}
.stat.green {
    background: #e5f8ef;
    color: #19b769;
}
.stat.orange {
    background: #fff0e5;
    color: #ff811c;
}
.stat.purple {
    background: #f0e9ff;
    color: #983ef2;
}
.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: currentColor;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.stat-icon .icon {
    stroke: white;
    width: 32px;
    height: 32px;
}
.stat > div {
    position: relative;
    z-index: 1;
    color: var(--ink);
}
.stat > div > span {
    font-size: 14px;
}
.stat strong {
    display: block;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
    margin: 5px 0 1px;
    letter-spacing: -0.5px;
}
.stat small {
    color: #489a74;
    font-size: 12px;
}
.spark {
    position: absolute;
    width: 73px;
    height: 38px;
    right: 15px;
    bottom: 13px;
    opacity: 0.65;
}
.panel {
    background: #fff;
    border-radius: 10px;
    padding: 15px 16px;
    min-width: 0;
    box-shadow: 0 2px 10px #dfe5f518;
}
.panel h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.2px;
    margin: 0 0 13px;
}
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}
.panel-heading h2 {
    margin: 0;
}
.panel-heading > a {
    font-size: 12px;
    color: #0069e9;
    white-space: nowrap;
}
.traffic-grid {
    display: grid;
    grid-template-columns: 1.28fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.legend {
    display: flex;
    gap: 22px;
    font-size: 12px;
}
.legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.legend i {
    width: 14px;
    height: 7px;
    border-radius: 5px;
}
.blue-dot {
    background: #0077ff;
}
.green-dot {
    background: #1db66a;
}
.chart svg {
    width: 100%;
    height: 174px;
    display: block;
}
.chart-note {
    color: #929cb0;
    font-size: 12px;
    display: block;
    margin-top: 3px;
}
.tabs {
    display: flex;
    border: 1px solid #e3e9f4;
    border-radius: 5px;
    overflow: hidden;
}
.tabs button {
    background: #f6f8fc;
    color: #243456;
    padding: 6px 21px;
    font-size: 12px;
    border-right: 1px solid #e4eaf4;
}
.tabs button:last-child {
    border: 0;
}
.tabs .selected {
    background: #0065f7;
    color: white;
}
.top-content .panel-heading {
    margin-bottom: 3px;
}
.top-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 6px;
    border-bottom: 1px solid #f0f2f7;
    font-size: 12px;
    min-height: 33px;
}
.top-row:last-child {
    border: 0;
}
.top-row > b {
    background: linear-gradient(#e9edf5, #d6dbe3);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    font-weight: 500;
    flex-shrink: 0;
}
.top-row:first-child > b {
    background: linear-gradient(135deg, #0085ff, #4b6eea);
    color: white;
}
.top-row > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-row small {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
    font-size: 12px;
}
.top-row small .icon {
    width: 15px;
    height: 15px;
    color: #336de4;
}
.recent-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.table-scroll {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}
th {
    background: #f5f6fc;
    padding: 10px 7px;
    font-weight: 600;
    white-space: nowrap;
}
th:first-child {
    border-radius: 6px 0 0 0;
}
th:last-child {
    border-radius: 0 6px 0 0;
}
td {
    padding: 5px 7px;
    border-bottom: 1px solid #f0f2f7;
    height: 34px;
}
tr:last-child td {
    border-bottom: 0;
}
.record-title {
    min-width: 165px;
}
.nowrap {
    white-space: nowrap;
}
.tag,
.status {
    padding: 4px 7px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 12px;
    display: inline-block;
}
.tag {
    background: #f1eaff;
    color: #673eb6;
}
.published {
    background: #e5f9ef;
    color: #23a36a;
}
.draft {
    background: #fff3df;
    color: #d99224;
}
.scheduled {
    background: #e9f2ff;
    color: #086be9;
}
.archived {
    background: #edf0f5;
    color: #62718b;
}
.row-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}
.row-actions a,
.row-actions button {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    background: #eff6ff;
    color: #0879f8;
    border-radius: 6px;
    padding: 4px;
}
.row-actions .icon {
    width: 16px;
    height: 16px;
}
.row-actions form {
    margin: 0;
}
.row-actions form button {
    color: #ec2828;
    background: #fff0ee;
}
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr 1.25fr;
    gap: 14px;
}
.users-overview {
    display: flex;
    align-items: center;
    gap: 20px;
}
.donut {
    width: 146px;
    height: 146px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e9eff8;
    display: grid;
    place-items: center;
}
.donut > div {
    background: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.donut strong {
    font-size: 24px;
}
.donut small {
    font-size: 12px;
}
.user-legend {
    flex: 1;
}
.user-legend > div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    margin: 13px 0;
    white-space: nowrap;
}
.user-legend i {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    flex-shrink: 0;
}
.user-legend b {
    margin-left: auto;
}
.category-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    margin: 13px 0;
}
.category-row > span {
    width: 110px;
    flex-shrink: 0;
}
.category-row > div {
    height: 10px;
    border-radius: 20px;
    background: #eef2f8;
    flex: 1;
    overflow: hidden;
}
.category-row i {
    display: block;
    height: 100%;
    border-radius: 20px;
}
.category-row b {
    width: 24px;
    font-weight: 400;
    text-align: right;
}
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.quick-actions a {
    background: #f5f7fc;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 11px;
    font-size: 12px;
    min-height: 47px;
}
.quick-actions .icon {
    color: #0075f9;
    width: 24px;
    height: 24px;
}
footer {
    display: flex;
    justify-content: space-between;
    color: #9aa4b7;
    font-size: 12px;
    padding: 20px 3px 3px;
}
.primary {
    display: inline-block;
    background: #0879f9;
    color: #fff;
    border-radius: 6px;
    padding: 11px 18px;
    font-size: 13px;
}
.notice {
    padding: 12px 16px;
    margin-bottom: 15px;
    background: #e3f9ed;
    color: #16854e;
    border-radius: 8px;
}
.error {
    background: #ffeded;
    color: #b82e30;
}
.editor {
    margin-bottom: 18px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
input,
select,
textarea {
    border: 1px solid #dfe5ef;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    padding: 11px 12px;
}
label input,
label select,
label textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
}
textarea {
    resize: vertical;
}
.count {
    font-size: 12px;
    background: #edf4ff;
    padding: 3px 8px;
    border-radius: 5px;
    margin-left: 8px;
}
.empty {
    text-align: center;
    padding: 30px;
    color: #8a96aa;
}
.section-note {
    font-size: 12px;
    color: #8490a5;
    margin-bottom: 16px;
}
.search-result {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 4px;
    border-bottom: 1px solid #eef1f6;
}
.search-result span {
    color: #8190a8;
}
dialog {
    border: 0;
    border-radius: 12px;
    width: min(580px, 92vw);
    box-shadow: 0 20px 100px #091b4740;
    padding: 25px;
    color: var(--ink);
}
dialog::backdrop {
    background: #0a173d65;
}
#detail-description {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.login {
    display: grid;
    place-items: center;
    min-height: 100vh;
}
.login-card {
    width: min(430px, 92vw);
    padding: 30px;
}
.login-card h1 {
    font-size: 27px;
    margin-bottom: 20px;
}
.login-card p {
    color: #75839a;
}
.login-card label {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
    font-weight: 600;
}
.login-card input {
    padding: 11px 12px;
    border: 1px solid #d5dcea;
    border-radius: 8px;
    font-weight: 400;
}
.login-card .login-hint {
    font-size: 12.5px;
    font-weight: 400;
    color: #75839a;
}
.login-card .login-error {
    color: #c62828;
    min-height: 1.2em;
}
.login-card button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}
.sidebar-collapsed .sidebar {
    transform: translateX(-100%);
}
.sidebar-collapsed main {
    margin-left: 0;
}
[hidden] {
    display: none !important;
}
@media (min-width: 1600px) {
    main {
        padding: 100px 24px 20px;
    }
    .stat {
        min-height: 120px;
    }
    .chart svg {
        height: 206px;
    }
    .top-row {
        min-height: 39px;
    }
    td {
        height: 39px;
    }
    .bottom-grid .panel {
        padding: 20px;
    }
    .quick-actions a {
        padding: 18px 12px;
    }
}
@media (max-width: 1300px) {
    .topbar {
        gap: 16px;
    }
    .brand {
        width: 210px;
    }
    .sidebar {
        width: 235px;
    }
    .sidebar nav a {
        gap: 15px;
        font-size: 13px;
    }
    main {
        margin-left: 235px;
    }
    .stat {
        gap: 12px;
        padding: 15px 12px;
    }
    .stat-icon {
        width: 49px;
        height: 49px;
    }
    .stat strong {
        font-size: 25px;
    }
    .stat > div > span {
        font-size: 12px;
    }
    .spark {
        width: 48px;
        opacity: 0.4;
    }
    .bottom-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bottom-grid > .panel:last-child {
        grid-column: 1/-1;
    }
    .quick-actions {
        grid-template-columns: repeat(9, 1fr);
    }
    .quick-actions a {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 12px;
        gap: 8px;
    }
    .tabs button {
        padding: 6px 12px;
    }
    .recent-grid {
        grid-template-columns: 1fr;
    }
    .chart svg {
        height: 178px;
    }
}
@media (max-width: 1000px) {
    .brand {
        width: 180px;
    }
    .brand svg {
        width: 56px;
    }
    .brand b {
        font-size: 25px;
    }
    .website {
        display: none;
    }
    .sidebar {
        width: 210px;
    }
    .sidebar nav a {
        gap: 11px;
        padding: 10px 12px;
    }
    main {
        margin-left: 210px;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .traffic-grid {
        grid-template-columns: 1fr;
    }
    .page-heading h1 {
        font-size: 27px;
    }
    .date-range {
        font-size: 12px;
        padding: 10px;
    }
    .page-heading p {
        font-size: 13px;
    }
    .quick-actions {
        grid-template-columns: repeat(3, 1fr);
    }
    .quick-actions a {
        flex-direction: row;
    }
    .users-overview {
        gap: 12px;
    }
    .donut {
        width: 110px;
        height: 110px;
    }
    .donut > div {
        width: 78px;
        height: 78px;
    }
    .bottom-grid {
        grid-template-columns: 1fr;
    }
    .bottom-grid > .panel:last-child {
        grid-column: auto;
    }
}
@media (max-width: 700px) {
    .topbar {
        height: 66px;
        padding: 0 12px;
        gap: 13px;
    }
    .brand {
        width: auto;
        margin-right: auto;
    }
    .brand svg {
        width: 48px;
        height: 44px;
    }
    .brand {
        font-size: 16px;
        line-height: 16px;
    }
    .brand b {
        font-size: 22px;
        line-height: 20px;
    }
    .brand small {
        font-size: 6px;
        line-height: 10px;
    }
    .global-search {
        display: none;
    }
    .profile > span:not(.avatar) {
        display: none;
    }
    .avatar {
        width: 34px;
        height: 34px;
    }
    .bell {
        display: none;
    }
    .sidebar {
        top: 66px;
        width: 240px;
        transform: translateX(-100%);
        box-shadow: 10px 0 30px #15366718;
    }
    .sidebar-collapsed .sidebar {
        transform: translateX(0);
    }
    main,
    .sidebar-collapsed main {
        margin-left: 0;
        padding: 84px 12px 12px;
    }
    .page-heading {
        margin: 0 2px 18px;
        flex-direction: column;
        gap: 12px;
    }
    .page-heading h1 {
        font-size: 27px;
    }
    .date-range {
        align-self: flex-start;
    }
    .stats {
        gap: 10px;
    }
    .stat {
        min-height: 101px;
        gap: 10px;
        padding: 12px 10px;
    }
    .stat-icon {
        width: 42px;
        height: 42px;
    }
    .stat-icon .icon {
        width: 24px;
        height: 24px;
    }
    .stat strong {
        font-size: 25px;
    }
    .stat > div > span {
        font-size: 12px;
    }
    .stat small {
        font-size: 11px;
    }
    .spark {
        display: none;
    }
    .panel {
        padding: 14px 12px;
    }
    .panel h2 {
        font-size: 16px;
    }
    .legend {
        gap: 10px;
        font-size: 11px;
    }
    .legend i {
        width: 9px;
        height: 6px;
    }
    .chart svg {
        height: auto;
    }
    .top-row {
        gap: 9px;
        font-size: 12px;
        padding: 7px 0;
    }
    .tabs button {
        padding: 6px 10px;
        font-size: 12px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .panel-heading input {
        max-width: 145px;
    }
    footer span {
        display: none;
    }
    .search-result {
        flex-direction: column;
        gap: 6px;
    }
    .user-legend > div {
        font-size: 12px;
    }
    .users-overview {
        justify-content: space-around;
        gap: 24px;
    }
    .donut {
        width: 140px;
        height: 140px;
    }
    .donut > div {
        width: 100px;
        height: 100px;
    }
}

/* Shared typography for dashboard, record forms and administrator sign-in. */
b,
strong {
    font-weight: 700;
}
.brand small {
    font-weight: 500;
}
.sidebar nav a {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}
.sidebar nav a.active {
    font-weight: 600;
}
.profile b,
.panel-heading > a,
.primary,
.tabs button,
.quick-actions a {
    font-weight: 500;
}
.stat > div > span {
    font-weight: 500;
}
.stat strong,
.donut strong {
    font-variant-numeric: tabular-nums;
}
table {
    font-size: 12px;
    line-height: 1.5;
}
th {
    font-size: 12px;
    font-weight: 600;
}
td {
    font-weight: 400;
}
.tag,
.status {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}
label {
    font-size: 14px;
    font-weight: 500;
}
input,
select,
textarea {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}
.quick-actions a {
    line-height: 1.4;
}
.chart text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
@media (max-width: 700px) {
    .page-heading h1 {
        font-size: 26px;
    }
    .panel h2 {
        font-size: 17px;
    }
    .stat > div > span,
    .stat small,
    .legend,
    .tabs button,
    .top-row {
        font-size: 12px;
    }
    .stat {
        gap: 8px;
    }
    .stat-icon {
        width: 36px;
        height: 36px;
    }
    .legend {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .tabs button {
        padding: 6px 8px;
    }
}

/* Phone sidebar: dim the page behind the open menu and stop it scrolling (admin.js). */
@media (max-width: 700px) {
    body.sidebar-collapsed {
        overflow: hidden;
    }
    body.sidebar-collapsed::before {
        content: '';
        position: fixed;
        inset: 66px 0 0;
        z-index: 14;
        background: #0f172a59;
    }
}

/* News dashboard (index.php): homepage status, section bars, add-news shortcuts. */
.news-section-name {
    font-family: 'Noto Sans Bengali', 'Nirmala UI', sans-serif;
    font-weight: 600;
}
.news-title {
    min-width: 160px;
}
.category-row > span {
    width: 150px;
}
.category-row small {
    color: #8a96aa;
}
.home-status {
    display: grid;
    gap: 8px;
}
.home-status a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid #e6ebf3;
    border-left: 4px solid #b8c3d6;
    border-radius: 8px;
}
.home-status a.on {
    border-left-color: #19b769;
    background: #f4fbf7;
}
.home-status .icon {
    flex: none;
    width: 24px;
    height: 24px;
    color: #0075f9;
}
.home-status b {
    display: block;
    font-size: 13px;
}
.home-status small {
    display: block;
    color: #5b6b80;
    font-size: 12px;
}
.bottom-grid.news-bottom {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}
.bottom-grid.news-bottom > .panel:last-child {
    grid-column: auto;
}
.news-bottom .quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.news-bottom .quick-actions a {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
}
@media (max-width: 1000px) {
    .bottom-grid.news-bottom {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .news-bottom .quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Daily visitors panel (visitors-panel.php) */
.visitors-panel {
    margin-bottom: 14px;
}
.tabs a {
    display: block;
    padding: 6px 16px;
    background: #f6f8fc;
    color: #243456;
    font-size: 12px;
    border-right: 1px solid #e4eaf4;
}
.tabs a:last-child {
    border-right: 0;
}
.tabs a.selected {
    background: #0065f7;
    color: #fff;
}
.visitor-figures {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.visitor-figures > div {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid #e6ebf3;
    border-radius: 8px;
}
.visitor-figures small {
    color: #6a7691;
    font-size: 12px;
    font-weight: 600;
}
.visitor-figures b {
    font-size: 26px;
    line-height: 1.2;
    color: #131727;
}
.visitor-figures span {
    color: #5b6b80;
    font-size: 12px;
}
.visitor-chart {
    position: relative;
}
.visitor-chart svg {
    display: block;
    width: 100%;
    height: 220px;
}
.visitor-chart .grid line {
    stroke: #eef1f6;
}
.visitor-chart .axis span {
    position: absolute;
    color: #6a7691;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}
.visitor-chart .ylab {
    transform: translate(calc(-100% - 8px), -50%);
}
.visitor-chart .xlab {
    transform: translateX(-50%);
}
.visitor-chart .baseline {
    stroke: #c9d1de;
}
.visitor-chart .bar {
    fill: #0076fd;
}
.visitor-chart .hit {
    fill: transparent;
    cursor: default;
    outline: none;
}
.visitor-chart .hit.on {
    fill: #0076fd14;
}
.visitor-tip {
    position: absolute;
    top: 0;
    display: grid;
    gap: 1px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #131727;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 6px 18px #0f172a40;
}
.visitor-tip span {
    color: #cbd5e1;
}
.visitor-empty {
    position: absolute;
    inset: 30% 10% auto;
    margin: 0;
    color: #6a7691;
    font-size: 13px;
    text-align: center;
}
.visitor-table {
    margin-top: 8px;
    font-size: 12px;
}
.visitor-table summary {
    cursor: pointer;
    color: #0069e9;
    font-weight: 600;
}
.visitor-table .table-scroll {
    max-height: 260px;
    margin-top: 8px;
    overflow-y: auto;
}
@media (max-width: 1000px) {
    .visitor-figures {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
