/* 弹窗遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

 @keyframes modalAppear {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 弹窗内容 */
.notification-modal {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalAppear 0.3s ease-out;
}



.modal-header {
    background-color: #4a6fa5;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.countdown {
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 15px;
}

.modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-time {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
}

.notification-content {
    font-size: 1rem;
    line-height: 1.4;
}

.modal-footer {
    padding: 15px 20px;
    background-color: #f5f5f5;
    display: flex;
    justify-content: flex-end;
}

.close-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.close-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.close-btn:not(:disabled):hover {
    background-color: #3a5a8a;
}
