/* =========================================================
   NOTIFICATIONS STYLES - FutstatsBR
   Arquivo único das notificações
   ========================================================= */

.notification-container {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
}

.notification-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #f7f7f7;
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.notification-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: #ff4757;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 0;
    animation: pulse 1.5s infinite;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: 350px;
    overflow: hidden;
    z-index: 1001;
    text-align: left;
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.notification-header {
    padding: 14px 15px;
    background-color: #2a2a2a;
    border-bottom: 1px solid #333;
    color: #1db954;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-list::-webkit-scrollbar {
    width: 10px;
    background-color: #2c2c2c;
}

.notification-list::-webkit-scrollbar-thumb {
    background-color: #555;
    border: 2px solid #2c2c2c;
    border-radius: 0;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background-color: #777;
}

.notification-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: #2a2a2a;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notification-title {
    color: #f1f1f1;
    font-size: 0.92rem;
    line-height: 1.35;
}

.notification-time {
    color: #a9a9a9;
    font-size: 0.76rem;
}

.notification-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 2px;
    padding: 5px 10px;
    border: 1px solid #1db954;
    border-radius: 0;
    color: #1db954;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.notification-link:hover {
    background-color: #1db954;
    color: #fff;
    text-decoration: none;
}

.notification-empty {
    padding: 20px;
    color: #aaa;
    text-align: center;
    font-size: 0.9rem;
}

.notification-actions {
    padding: 12px 15px;
    text-align: center;
    background-color: #2a2a2a;
    border-top: 1px solid #333;
    border-radius: 0;
}

.mark-all-read-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 0;
    background-color: #1db954;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.mark-all-read-btn:hover {
    background-color: #179c46;
}

.mark-all-read-btn:active {
    transform: translateY(1px);
}

.notification-read {
    opacity: 0.72;
    background-color: #1a1a1a !important;
}

.notification-read .notification-link {
    color: #777 !important;
    border-color: #777;
}

.notification-read .notification-link:hover {
    background-color: #777;
    color: #fff !important;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 1480px) {
    .notification-icon {
        padding: 6px;
        font-size: 1rem;
    }
}

@media (max-width: 1280px) {
    .notification-icon {
        padding: 5px;
        font-size: 0.95rem;
    }
}

@media (max-width: 1120px) {
    .notification-container {
        order: 1;
    }

    .notification-dropdown {
        width: 320px;
        right: -10px;
    }
}

@media (max-width: 768px) {
    .notification-dropdown {
        width: 320px;
        right: 0;
    }
}

@media (max-width: 480px) {
    .notification-dropdown {
        width: 280px;
        right: -15px;
    }
}

@media (max-width: 370px) {
    .notification-icon {
        padding: 4px;
        font-size: 1rem;
    }
}
