.dashboardGrid {
display: flex;
flex-direction: column;
gap: 22px;
max-width: 1180px;
}

.dashboardStats {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 14px;
}

.statCard {
background: #fff;
border: 1px solid var(--wp-border);
border-radius: 18px;
padding: 18px;
box-shadow: var(--wp-shadow);
}

.statCard span {
display: block;
font-size: 13px;
color: var(--wp-muted);
margin-bottom: 10px;
}

.statCard strong {
font-size: 24px;
letter-spacing: -0.04em;
}

.dashboardCard {
max-width: 1180px;
}

.dashboardSectionHeader {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 18px;
margin-bottom: 20px;
}

.dashboardSectionHeader h2 {
margin: 0;
font-size: 21px;
letter-spacing: -0.03em;
}

.dashboardSectionHeader p {
margin: 8px 0 0;
font-size: 14px;
line-height: 1.5;
color: var(--wp-muted);
}

.notificationsList {
    display: flex;
    flex-direction: column;
    gap: 12px;

    flex: 1;

    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 6px;
}

.notificationItem {
border: 1px solid var(--wp-border);
border-radius: 16px;
background: #fff;
padding: 16px;
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 18px;
}

.notificationItem.unread {
border-color: #fdba74;
background: var(--wp-orange-soft);
}

.notificationInfo {
display: flex;
flex-direction: column;
gap: 6px;
}

.notificationTitle {
font-size: 15px;
font-weight: 750;
}

.notificationMessage {
font-size: 14px;
line-height: 1.5;
color: var(--wp-muted);
}

.notificationMeta {
font-size: 12px;
color: var(--wp-muted);
}

.notificationActions {
display: flex;
gap: 10px;
align-items: center;
}

.calendarPlaceholder {
border: 1px dashed var(--wp-border);
border-radius: 16px;
padding: 28px;
color: var(--wp-muted);
background: #fff;
}

.emptyState {
text-align: center;
padding: 34px;
color: var(--wp-muted);
}

@media (max-width: 1050px) {
.dashboardStats {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 650px) {
.dashboardStats {
grid-template-columns: 1fr;
}

.notificationItem,
.dashboardSectionHeader {
flex-direction: column;
}
}

.dashboardBottomGrid {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 22px;
align-items: start;
}

@media (max-width: 950px) {
.dashboardBottomGrid {
grid-template-columns: 1fr;
}
}

.calendarEventsList {
display: flex;
flex-direction: column;
gap: 10px;
}

.calendarEventItem {
border: 1px solid var(--wp-border);
border-radius: 12px;
padding: 12px 14px;
background: #fff;
}

.calendarEventDate {
font-size: 12px;
color: var(--wp-muted);
margin-bottom: 4px;
}

.calendarEventTitle {
font-size: 14px;
font-weight: 600;
}

.calendarWidget {
display: flex;
flex-direction: column;
gap: 14px;
}

.calendarTop {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}

.calendarMonthTitle {
font-size: 17px;
font-weight: 750;
letter-spacing: -0.03em;
}

.calendarNavBtn {
width: 34px;
height: 34px;
border-radius: 999px;
border: 1px solid var(--wp-border);
background: #fff;
cursor: pointer;
font-size: 22px;
line-height: 1;
}

.calendarWeekdays,
.calendarMonthGrid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 8px;
}

.calendarWeekdays div {
font-size: 12px;
font-weight: 700;
color: var(--wp-muted);
text-align: center;
}

.calendarDay {
min-height: 76px;
border: 1px solid var(--wp-border);
border-radius: 14px;
background: #fff;
padding: 9px;
cursor: pointer;
transition: 0.16s ease;
overflow: hidden;
}

.calendarDay:hover {
border-color: #fdba74;
background: var(--wp-orange-soft);
}

.calendarDay.isMuted {
opacity: 0.35;
}

.calendarDayNumber {
font-size: 13px;
font-weight: 700;
margin-bottom: 6px;
}

.calendarDayEvent {
font-size: 11px;
line-height: 1.25;
background: var(--wp-orange-soft);
border-radius: 8px;
padding: 4px 6px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.calendarMore {
font-size: 11px;
color: var(--wp-muted);
margin-top: 4px;
}

.calendarDayModal {
width: 100%;
max-width: 650px;

background: #fff;

border-radius: 22px;

padding: 24px;

box-shadow:
0 20px 60px rgba(0,0,0,0.18);
}

.calendarDayModal.hidden {
display: none;
}

.calendarDayModalHeader {
display: flex;
justify-content: space-between;
gap: 16px;
margin-bottom: 14px;
}

.calendarDayModalHeader h3 {
margin: 0;
font-size: 18px;
}

.calendarDayModalHeader p {
margin: 6px 0 0;
font-size: 13px;
color: var(--wp-muted);
}

.calendarModalClose {
border: none;
background: transparent;
font-size: 26px;
cursor: pointer;
line-height: 1;
}

.calendarDayModalList {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 14px;
}

.calendarDayModalItem {
border: 1px solid var(--wp-border);
border-radius: 14px;
padding: 12px 14px;
background: #fffaf5;
display: flex;
justify-content: space-between;
gap: 12px;
align-items: center;
}

.calendarDayModalItemTitle {
font-weight: 700;
font-size: 14px;
}

.calendarDayModalItemMeta {
font-size: 12px;
color: var(--wp-muted);
margin-top: 4px;
}

.calendarDayModalActions {
display: flex;
gap: 8px;
}

.calendarIconBtn {
border: 1px solid var(--wp-border);
background: #fff;
border-radius: 10px;
height: 34px;
min-width: 34px;
cursor: pointer;
}

.calendarDayModalOverlay {
position: fixed;
inset: 0;

background: rgba(0,0,0,0.35);

display: flex;
align-items: center;
justify-content: center;

padding: 20px;

z-index: 9999;
}

.calendarDayModalOverlay.hidden {
display: none;
}

.calendarEventPreview {
font-size: 11px;

padding: 2px 4px;

border-radius: 6px;

overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;

margin-top: 2px;
}

.calendarDayModal {
width: min(760px, 92vw);
max-height: 78vh;
}

.calendarDayModalList {
max-height: 420px;
overflow-y: auto;
}

.calendarEventDetailText {
white-space: normal;
line-height: 1.6;
font-size: 15px;
color: #374151;
margin: 18px 0 22px;
}

.calendarEventDetailActions {
display: flex;
gap: 12px;
align-items: center;
flex-wrap: wrap;
}

.notificationsCard {
    height: 610px;
    min-height: 610px;

    display: flex;
    flex-direction: column;
}

.dashboardHeaderActions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboardTrashBtn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--wp-border);
    border-radius: 10px;

    background: #fff;
    color: var(--wp-muted);

    font-size: 17px;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.dashboardTrashBtn:hover {
    background: #fff7f6;
    border-color: #f1b8b2;
    color: #d94a3f;
}

.dashboardTrashBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}