.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.notifications-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 20px;
}

.unread-count {
    background-color: #5461c7;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-options span {
    color: #777;
}

.sort-options a {
    color: #6c757d;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.sort-options a.active {
    background-color: #5461c7;
    color: white;
}

.sort-options a:hover:not(.active) {
    background-color: #f8f9fa;
    color: #495057;
}

.notifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.notification-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.notification-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.notification-item.unread {
    border-left: 4px solid #e74c3c;
    background-color: #fef9f9;
}

.notification-item.expired {
    opacity: 0.7;
    background-color: #f8f9fa;
    border-left: 4px solid #dc3545;
}

.notification-content {
    padding: 20px;
    position: relative;
}

.notification-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f4f4f9;
}

.notification-icon svg {
    width: 24px;
    height: 24px;
    color: #5461c7;
}

.notification-text {
    padding-left: 60px;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notification-text p {
    margin: 0 0 5px 0;
    font-size: 15px;
    line-height: 1.5;
}

.notification-text strong {
    font-weight: 600;
    color: #333;
}

.notification-time {
    color: #888;
    font-size: 13px;
}

.notification-actions {
    display: flex;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    justify-content: flex-end;
}

.notification-action-form {
    margin-left: 10px;
}

.btn-accept, .btn-reject {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-accept {
    background-color: #5461c7;
    color: white;
}

.btn-accept:hover {
    background-color: #4451ad;
}

.btn-reject {
    background-color: #f5f5f5;
    color: #666;
}

.btn-reject:hover {
    background-color: #e9e9e9;
}

.btn-read-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #5461c7;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-read-icon:hover {
    background-color: #4451ad;
    transform: scale(1.1);
}

.btn-read-icon i {
    font-size: 14px;
}

.text-success {
    color: #2ecc71;
    font-weight: 600;
}

.text-warning {
    color: #f39c12;
    font-weight: 600;
}

.text-danger {
    color: #e74c3c;
    font-weight: 600;
}

.empty-notifications {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #888;
}

.empty-notifications svg {
    width: 64px;
    height: 64px;
    color: #ccc;
    margin-bottom: 15px;
}

.empty-notifications p {
    font-size: 16px;
}

@media (max-width: 768px) {
    .notifications-list {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

.notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background-color: #e74c3c;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 5px;
    position: relative;
    top: -1px;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.expired-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: #dc3545;
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.clean-expired-form {
    margin-left: auto;
}

.btn-clean {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-clean:hover {
    background-color: #c82333;
}

.btn-clean i {
    font-size: 0.9rem;
}