/* Apply Open Sans to specific elements */
.open-sans-text {
    font-family: 'Open Sans', sans-serif;
}

.active-button {
    background-color: #4cadaf !important; /* Example color for active button */
    color: white;
    border-color: #af4c8e !important;
    border-width: 2px !important;
}
/* Styling the recent activity label */
.recent-activity-label {
    display: flex; /* Enables flexbox for centering */
    justify-content: center; /* Centers the content horizontally */
    align-items: center; /* Centers the content vertically */
    background-color: #f0f9ff;
    color: #333;
    border: 1px solid #c3e6fb;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center; /* Ensures text inside spans is centered */
    transition: opacity 0.3s ease;
}

.recent-activity-label span {
    color: #007bff; /* Highlight the date with a blue color */
}

/* Modernized Button Styles */
.flash-report-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #0073aa;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}
.flash-report-actions button:hover {
    background-color: #005f87;
}

/* Date Range Selector Styles */
#flash-reports-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}
#flash-reports-filter input[type="date"], #flash-reports-filter button {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#flash-reports-filter button {
    background-color: #28a745;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#flash-reports-filter button:hover {
    background-color: #218838;
}

.pending-approval {
    background-color: #ffc107;
    color: #333;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
}

/* Modal Styling */
#flash-report-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
#flash-report-modal .modal-content {
    background-color: white;
    max-width: 600px;
    padding: 20px;
    margin: 50px auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}
#flash-report-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}
.modal-content button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    background-color: #0073aa;
    color: white;
    transition: background-color 0.3s ease;
}
.modal-content button:hover {
    background-color: #005f87;
}
.edit-textarea {
    width: 100%;
    min-height: 100px;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 1rem;
}

.flash-report-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.flash-report-table th, .flash-report-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.flash-report-table th {
    background-color: #0073aa;
    color: white;
}

.flash-report-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.flash-report-table th {
    font-size: 15px;
} 
.flash-report-table td {
    font-size: 13.5px;
}

    /* Edit Textarea and Reply Section */
.edit-textarea, .reply-input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button Container */
.button-container {
    display: flex;
    gap: 10px;
    align-items: center;
}
/* Modernized Button Styles */
.flash-report-actions button, .flash-report-table button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #0073aa;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    margin-right: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 115, 170, 0.2);
}
.flash-report-actions button:hover, .flash-report-table button:hover {
    background-color: #005f87;
}
/* Customize the Apply and Cancel buttons */
.daterangepicker .applyBtn,
.daterangepicker .cancelBtn {
    background-color: #007bff; /* Change to your desired color */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 15px; /* Padding for buttons */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.3s; /* Smooth transition */
}

/* Adjust the positioning of the input box */
#flash-reports-filter {
    display: flex;
    align-items: center;
}

#flash-reports-filter input {
    margin-right: 10px;
}





/* Style for the confirmation message */
.flash-confirmation-message {
    background-color: #f4f9fd; /* Light background color */
    color: #333; /* Dark text for readability */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    max-width: 600px;
    margin: 20px auto;
}

/* Style for the links within the confirmation */
.flash-confirmation-message a {
    color: #007bff; /* Link color */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

/* Hover effect for the links */
.flash-confirmation-message a:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline;
}

/* Optional styling for a clear separation between message and links */
.flash-confirmation-message br {
    margin-top: 10px;
}

/*contact-us page form */
div.contact-us-ngmc-class div.wpforms-container {
    margin: 0px !important;
}

.glossary {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    display:none;
    position: relative;
    margin-top: 15px;
}
.glossary h4 {
    margin-top: 2px;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
}
.glossary ul {
    margin: 0;
    padding-left: 20px;
}
.glossary li {
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 14px;
}


.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-block;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
