﻿.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Adjust z-index as needed */
}

.notification-dialog {
    max-height: 80vh; /* Adjust height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
    background-color: #f1efeb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 800px; /* Adjust width as needed */
}

.title {
    background-color: #330000;
    color: #fff;
    text-align: center;
    padding: 16px;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-title {
    font-size: 22px;
    color: #FFF;
}

.opt-out {
    flex: 1; /* Take up available space */
}

.date {
    font-style: italic;
}

.notification-card {
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    align-items: center;
    background-color: #5e544b;
    color: #fff;
    padding: 12px 16px;
}

.card-content {
    padding: 16px;
    color: #4A4A4A;
    font-size: 16px; /* Adjust font size as needed */
}

.actions {
    padding: 16px;
    border-top: 1px solid #5e544b;
    background-color: #f9f9f9;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Add this for positioning */
}

button {
    background-color: #5e544b;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.close-btn {
    margin-left: auto; /* Push close button to the right */
}

button:hover {
    background-color: #330000;
}

label {
    color: #3c3c3b;
    margin-left: 8px;
}

.title-icon {
    margin-right: 8px;
    font-size: 24px;
    align-items: center;
}

.notification-hidden{
    display: none;
}