/* Dashboard header tools: notifications + lang switch */
.dashboard-header-tools {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch-dashboard {
    position: static;
    margin: 0;
}

/* Notification bell */
.dashboard-notifications {
    position: relative;
}

.dashboard-notifications-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(128, 4, 4, 0.35);
    background: rgba(0, 0, 0, 0.42);
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.dashboard-notifications-btn:hover,
.dashboard-notifications-btn[aria-expanded="true"] {
    transform: translateY(-1px);
    background: rgba(128, 4, 4, 0.85);
    border-color: rgba(128, 4, 4, 0.9);
    color: #fff;
}

.dashboard-notifications-btn i {
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}

.dashboard-notifications-btn.has-unread i {
    animation: cubbies-bell-ring 2.4s ease-in-out infinite;
}

@keyframes cubbies-bell-ring {
    0%, 100% { transform: rotate(0deg); }
    8% { transform: rotate(14deg); }
    16% { transform: rotate(-12deg); }
    24% { transform: rotate(8deg); }
    32% { transform: rotate(0deg); }
}

.dashboard-notifications-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45);
    animation: cubbies-badge-pulse 1.8s ease-in-out infinite;
}

@keyframes cubbies-badge-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

.dashboard-notifications-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 32px));
    border-radius: 14px;
    border: 1px solid rgba(128, 4, 4, 0.28);
    background: linear-gradient(165deg, rgba(22, 10, 10, 0.97) 0%, rgba(8, 4, 4, 0.98) 100%);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transform-origin: top right;
    animation: cubbies-panel-in 0.22s ease;
}

@keyframes cubbies-panel-in {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dashboard-notifications-panel-header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-notifications-panel-header h4 {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.dashboard-notifications-list {
    padding: 12px;
    max-height: 240px;
    overflow-y: auto;
}

.dashboard-notifications-empty {
    margin: 0;
    padding: 18px 8px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
}

.dashboard-notification-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(128, 4, 4, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.dashboard-notification-item:hover {
    background: rgba(128, 4, 4, 0.12);
    border-color: rgba(128, 4, 4, 0.35);
}

.dashboard-notification-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 4, 4, 0.25);
    color: #ff8a8a;
}

.dashboard-notification-message {
    margin: 0 0 8px;
    font-size: 0.92rem;
    line-height: 1.4;
    color: #f5ecec;
    font-weight: 500;
}

.dashboard-notification-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.52);
}

.dashboard-notification-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 900px) {
    .dashboard-header-tools {
        top: 0;
        right: 0;
        gap: 8px;
    }

    .dashboard-notifications-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .dashboard-notifications-panel {
        right: -4px;
    }
}

/* Main footer social buttons */
.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer-social-btn i {
    font-size: 1.15rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
    outline: none;
}

.footer-social-btn--instagram:hover,
.footer-social-btn--instagram:focus-visible {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: #fff;
}

.footer-social-btn--youtube:hover,
.footer-social-btn--youtube:focus-visible {
    background: #ff0000;
    border-color: #ff0000;
    color: #fff;
}

.footer-social-btn--tiktok:hover,
.footer-social-btn--tiktok:focus-visible {
    background: #010101;
    border-color: #25f4ee;
    color: #25f4ee;
}

.footer-social-btn--tiktok:hover i,
.footer-social-btn--tiktok:focus-visible i {
    text-shadow: 2px 0 #fe2c55, -2px 0 #25f4ee;
}

@media (max-width: 600px) {
    .footer-social-row {
        gap: 12px;
        margin-top: 14px;
    }

    .footer-social-btn {
        width: 42px;
        height: 42px;
    }
}
