/* style.css */

/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f7f7f7;
}


.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 255, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
}

/* New styles for the category dropdown */
#category {
    width: 100%;
    padding: 10px; /* Increase padding for better appearance */
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #000; /* Change the text color to black */
}

/* Optional: Add some visual feedback on focus */
#category:focus {
    border-color: #3e98c7;
    box-shadow: 0 0 5px #3e98c7;
}

select#edit-category {
    width: 100%; /* Set the width to fill the entire container */
    padding: 5px; /* Adjust padding as needed */
    font-size: 16px; /* Adjust font size as needed */
    border: 1px solid #ccc; /* Add a border */
    border-radius: 4px; /* Add border radius for rounded corners */
    margin-bottom: 16px;
}


/* Pagination Styles */
#pagination-container {
    text-align: center;
    margin-top: 20px;
}

#pagination-links {
    list-style: none;
    display: inline-block;
    padding: 0;
}

#pagination-links li {
    display: inline;
    margin-right: 10px;
}

#pagination-links li.active a {
    font-weight: bold;
    color: #4CAF50;
}

h1 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
}

#date-time-container {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Form Styles */
form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

#result {
    margin-top: 10px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

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

th {
    background-color: #f9f9f9;
    font-weight: bold;
}

/* Button Styles */
button {
    background-color: #4CAF50;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.bold-big {
    font-size: 24px;
    font-weight: bold;
}

.absent {
  color: red;
  font-weight: bold;
}


/* Add this CSS to your style.css file */
#search-container {
    display: flex;
    align-items: center;
}

#search-container label,
#search-container input {
    margin-right: 10px;
}

/* New styles for the category dropdown */
#category {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #000; /* Change the text color to black */
}

/* Optional: Add some visual feedback on focus */
#category:focus {
    border-color: #3e98c7;
    box-shadow: 0 0 5px #3e98c7;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.popup img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}
