/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

h1 {
    color: #007bff;
    margin-top: 20px;
    font-size: 28px;
    text-align: center;
}

/* Centered Header */
img {
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
}

/* Table Container */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

thead {
    background-color: #CBDCEB;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

td, th {
    font-size: 14px;
    color: #333;
}

/* Counter container */
#counters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    padding: 15px;
    max-width: 700px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Each counter block */
.counter {
    text-align: center;
    flex: 1;
}

/* Counter label */
.label {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* Counter value */
.value {
    font-size: 20px;
    font-weight: bold;
    display: block;
}

/* Specific colors for different counters */
#total-count {
    color: #007BFF; /* Blue */
}

#validated-count {
    color: #28A745; /* Green */
}

#non-validated-count {
    color: #DC3545; /* Red */
}


/* Action Buttons */

.validate-button,
.delete-button,
.reminder-button{
    display: inline-block; /* Ensure buttons are inline */
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.validate-button {
    background-color: #4CAF50; /* Green */
    color: white;
    margin-right: 8px; /* Space between buttons */
}

.validate-button:hover {
    background-color: #45a049;
}

.delete-button {
    background-color: #f44336; /* Red */
    color: white;
}

.delete-button:hover {
    background-color: #d32f2f;
}

.reminder-button {
    background-color: #FAB12F; /* Red */
    color: white;
}

.reminder-button:hover {
    background-color: #FF9C73;
}
/* Ensure buttons stay on the same line within the table cell */
td {
    white-space: nowrap; /* Prevent wrapping within the table cell */
}



.validate-button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* File Links */
a {
    color: #007bff;
    text-decoration: underline;
    font-size: 14px;
}

a:hover {
    color: #0056b3;
}

span {
    font-size: 14px;
}

/* Style for notification messages */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-width: 90%;
    text-align: center;
}

/* Success notification (green) */
.notification.success {
    background-color: #4CAF50;
    color: white;
}

/* Error notification (red) */
.notification.error {
    background-color: #f44336;
    color: white;
}

/* Optional: Add transition for fade-out effect */
.notification {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}


/* Alert Styles */
span[style="color: red;"] {
    color: red;
    font-style: italic;
}

span[style="color: gray;"] {
    color: gray;
    font-style: italic;
}



/* Responsive Design */
@media (max-width: 768px) {
    table {
        width: 100%;
        font-size: 12px;
    }

    th, td {
        padding: 8px;
    }

    .validate-button {
        padding: 6px 12px;
    }
}
