@charset "utf-8";
/* CSS Document */

/* <--------- General Body Styles ---------> */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}


/* <--------- Login Error Notification Styles ---------> */
.error-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4d;
    color: white;
    padding: 15px;
    border-radius: 5px;
    display: none;
    z-index: 999;
    font-size: 16px;
    width: auto;
    max-width: 90%;
    text-align: center;
}

/* <--------- Flex wrapper for sticky footer ---------> */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures the wrapper takes up at least the full height */
}

main {
  flex: 1; /* Makes the main section grow and take up remaining space */
}

/* <--------- Login Page Styles ---------> */
#loginpage {
  max-width: 400px;
  margin: 100px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 154, 0.4);
  border-top: 10px solid #00009A;
}

#loginpage h2 {
  text-align: center;
  color: #00009A;
}

#loginpage input[type="text"],
#loginpage input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
}

#loginpage .error {
  color: red;
  margin-bottom: 15px;
  text-align: center;
}

#loginpage input[type="submit"],
#loginpage input[type="reset"] {
  width: 48%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

#loginpage input[type="submit"] {
  background: linear-gradient(to right, #4d4dff, #00009A);
}

#loginpage input[type="submit"]:hover {
  background: linear-gradient(to right, #00007A, #000050);
}

#loginpage input[type="reset"] {
  background: linear-gradient(to right, #ff6666, #cc0000);
}

#loginpage input[type="reset"]:hover {
  background: linear-gradient(to right, #b30000, #800000);
}

#loginpage form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#loginpage .form-buttons {
  display: flex;
  justify-content: space-between;
}

/* <--------- Main Layout for UNIFY ---------> */
#unifymain .main-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
}

#unifymain .left-panel {
    width: 25%;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 154, 0.1);
}

#unifymain .right-panel {
    width: 75%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 154, 0.1);
}

#unifymain .welcome-title {
    color: #00009A;
    margin-bottom: 10px;
}

/* <--------- Footer Styles ---------> */
#unifymain footer {
  background-color: #00009A;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 -1px 10px rgba(0, 0, 154, 0.1);
}

/* <--------- Footer Styles for Login and Main Pages ---------> */
footer {
  background-color: #00009A;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 -1px 10px rgba(0, 0, 154, 0.1);
}

/* <--------- User Navigation Panel Styles ---------> */
#unifymain .navbar {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 154, 0.1);
}

#unifymain .navbar h3 {
    color: #00009A;
    margin-bottom: 15px;
	text-align: center;
}

#unifymain .navbar ul {
    list-style: none;
    padding: 0;
}

#unifymain .navbar ul li {
    margin-bottom: 10px;
}

#unifymain .navbar .nav-btn {
    background: none;
    border: 2px solid #00009A;
    color: #00009A;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center; /* Centers the text */
    width: 100%; /* Makes all buttons take the full width */
    max-width: 300px; /* Maximum width for larger buttons, e.g., "Create New Document Reference" */
    margin: 0 auto; /* Center the button horizontally */
    display: block; /* Makes the button a block element so it can be centered */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Optional: If you want to avoid the text from breaking onto the next line, you can set min-height */
#unifymain .navbar .nav-btn {
    min-height: 50px; /* Ensures buttons have a minimum height */
}

#unifymain .navbar .nav-btn:hover {
    background-color: #00009A;
    color: #fff;
}

/* <--------- Create Document Reference Styling ---------> */
#unifymain .createdoc {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 154, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#unifymain .createdoc h2.form-title {
    font-size: 24px;
    color: #00009A;
    margin-bottom: 20px;
    text-align: center;
}

#unifymain .createdoc .form-group {
    margin-bottom: 20px;
}

#unifymain .createdoc .form-group label {
    font-size: 16px;
    color: #00009A;
    margin-bottom: 5px;
    display: block;
}

#unifymain .createdoc select,
#unifymain .createdoc input[type="text"],
#unifymain .createdoc textarea,
#unifymain .createdoc input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background-color: #f2f2f2;
    color: #333;
}

#unifymain .createdoc select:focus,
#unifymain .createdoc input[type="text"]:focus,
#unifymain .createdoc textarea:focus,
#unifymain .createdoc input[type="file"]:focus {
    border-color: #4d4dff;
    outline: none;
}

#unifymain .createdoc textarea {
    resize: vertical;
    height: 50px;
}

#unifymain .createdoc .form-buttons {
    text-align: center;
}

#unifymain .createdoc .form-buttons .nav-button {
    background-color: #00009A;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 48%;
    margin: 10px 0;
    display: inline-block;
    text-align: center;
}

#unifymain .createdoc .form-buttons .reset {
    background-color: #ff4d4d;
}

#unifymain .createdoc .form-buttons .nav-button:hover {
    background-color: #4d4dff;
}

#unifymain .createdoc input[disabled] {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    cursor: not-allowed;
}

/* <--------- Last 10 Records Styling ---------> */
#last10records {
    font-family: Arial, sans-serif;
    padding: 20px;
    text-align: center; /* Centers the content inside the #last10records div */
}

#last10records h2 {
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center; /* Centers the header text */
}

#last10records .message {
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    color: #333;
    text-align: center; /* Centers the message text */
}

#last10records table {
    border-collapse: collapse;
    width: 80%; /* You can adjust this to fit your desired width */
    margin: 0 auto; /* Centers the table horizontally */
}

#last10records th, #last10records td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center; /* Centers the table content */
}

/* Table header with light blue background */
#last10records th {
    background-color: #add8e6; /* Light blue */
    color: #333;
}

/* Alternating row colors */
#last10records tr:nth-child(even) {
    background-color: #f2faff; /* Super light blue */
}

#last10records tr:nth-child(odd) {
    background-color: white; /* White rows */
}

/* Hover effect for rows */
#last10records tr:hover {
    background-color: #87CEEB; /* Darker blue when hovered */
}

/* Message box for no records */
#last10records .message-bar {
    background-color: #f44336;
    color: white;
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 8px;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    margin-top: 20%;
}

/* Button styles */
.button-details, .button-user {
    display: inline-block;
    background-color: #007bff; /* Blue color */
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px 0;
}

.button-details:hover, .button-user:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Close button styling */
button.close-button {
    display: block;
    width: 80%; /* Make the close button as wide as the table */
    text-align: center;
    background-color: red;
    color: white;
    padding: 15px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    margin: 20px auto; /* Centers the button horizontally */
    border-radius: 5px;
}

button.close-button:hover {
    background-color: darkred;
}

/* <--------- Last 10 Payment Styling ---------> */
#last10payments {
    font-family: Arial, sans-serif;
    padding: 20px;
    text-align: center; /* Centers the content inside the #last10records div */
}

#last10payments h2 {
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center; /* Centers the header text */
}

#last10payments .message {
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    color: #333;
    text-align: center; /* Centers the message text */
}

#last10payments table {
    border-collapse: collapse;
    width: 80%; /* You can adjust this to fit your desired width */
    margin: 0 auto; /* Centers the table horizontally */
}

#last10payments th, #last10records td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center; /* Centers the table content */
}

/* Table header with light blue background */
#last10payments th {
    background-color: #add8e6; /* Light blue */
    color: #333;
}

/* Alternating row colors */
#last10payments tr:nth-child(even) {
    background-color: #f2faff; /* Super light blue */
}

#last10payments tr:nth-child(odd) {
    background-color: white; /* White rows */
}

/* Hover effect for rows */
#last10payments tr:hover {
    background-color: #87CEEB; /* Darker blue when hovered */
}

/* Message box for no records */
#last10payments .message-bar {
    background-color: #f44336;
    color: white;
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 8px;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    margin-top: 20%;
}

/* Button styles */
.button-details, .button-user {
    display: inline-block;
    background-color: #007bff; /* Blue color */
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px 0;
}

.button-details:hover, .button-user:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Close button styling */
button.close-button {
    display: block;
    width: 80%; /* Make the close button as wide as the table */
    text-align: center;
    background-color: red;
    color: white;
    padding: 15px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    margin: 20px auto; /* Centers the button horizontally */
    border-radius: 5px;
}

button.close-button:hover {
    background-color: darkred;
}

/* <--------- User Details Styling ---------> */
#userdetails {
    font-family: Arial, sans-serif;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

#userdetails h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

#userdetails .user-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#userdetails .user-details-table td, #userdetails .user-details-table th {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: left;
}

#userdetails .user-details-table th {
    background-color: #f2f2f2;
}

#userdetails .user-details-table td.label {
    font-weight: bold;
    background-color: #f9f9f9;
}

#userdetails .close-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #f44336;
    color: white;
    font-size: 18px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    text-align: center;
}

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

/* Styling for the email link (no underline) */
#userdetails .email-link {
    text-decoration: none;
    color: #2c3e50; /* Change this to a color of your choice */
}

#userdetails .email-link:hover {
    color: #f44336; /* Color when hovered */
}

/* <--------- Record Details Styling ---------> */
#recorddetails {
    font-family: Arial, sans-serif;
    padding: 20px;
    text-align: center;
}

#recorddetails h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

#recorddetails table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 80%;
}

#recorddetails th, #recorddetails td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

#recorddetails th {
    background-color: #add8e6;
    width: 40%;
}

#recorddetails tr:nth-child(even) {
    background-color: #f2faff;
}

#recorddetails tr:nth-child(odd) {
    background-color: white;
}

.button-user {
    background-color: #4CAF50;
    color: white;
    padding: 6px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-user:hover {
    background-color: #388e3c;
}

#recorddetails .close-button {
    background-color: #f44336;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    margin-top: 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

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

/* <--------- Payment Details Styling ---------> */
#paymentdetails {
    font-family: Arial, sans-serif;
    padding: 20px;
    text-align: center;
}

#paymentdetails h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

#paymentdetails table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 80%;
}

#paymentdetails th, #paymentdetails td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

#paymentdetails th {
    background-color: #add8e6;
    width: 40%;
}

#paymentdetails tr:nth-child(even) {
    background-color: #f2faff;
}

#paymentdetails tr:nth-child(odd) {
    background-color: white;
}

.button-user {
    background-color: #4CAF50;
    color: white;
    padding: 6px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-user:hover {
    background-color: #388e3c;
}

#paymentdetails .close-button {
    background-color: #f44336;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    margin-top: 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

#paymentdetails .close-button:hover {
    background-color: #d32f2f;
}
/* <--------- Save Documents Reference Details Styling ---------> */

#SaveDocumentReference .message {
    margin: 30px auto;
    padding: 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    max-width: 600px;
    text-align: center;
}

#SaveDocumentReference .success {
    background-color: #e6ffed;
    color: #006622;
    border: 2px solid #66cc88;
}

#SaveDocumentReference .error {
    background-color: #ffe6e6;
    color: #cc0000;
    border: 2px solid #ff6666;
}

#SaveDocumentReference .close-wrapper {
    margin-top: 30px;
    text-align: center;
}

#SaveDocumentReference .close-wrapper button {
    background-color: #cc0000;
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 200px;
}

#SaveDocumentReference .close-wrapper button:hover {
    background-color: #990000;
}

/* <--------- Save Payment Reference Details Styling ---------> */

#SavePaymentReference .message {
    margin: 30px auto;
    padding: 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    max-width: 600px;
    text-align: center;
}

#SavePaymentReference .success {
    background-color: #e6ffed;
    color: #006622;
    border: 2px solid #66cc88;
}

#SavePaymentReference .error {
    background-color: #ffe6e6;
    color: #cc0000;
    border: 2px solid #ff6666;
}

#SavePaymentReference .close-wrapper {
    margin-top: 30px;
    text-align: center;
}

#SavePaymentReference .close-wrapper button {
    background-color: #cc0000;
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 200px;
}

#SavePaymentReference .close-wrapper button:hover {
    background-color: #990000;
}

/* <--------- Add Data Details Styling ---------> */

#adddata {
  padding: 1rem;
  font-family: Arial, sans-serif;
}

.adddata-section {
  margin-bottom: 2rem;
}

.adddata-section h3 {
  margin-bottom: 0.75rem;
  color: #333;
  border-bottom: 2px solid #555;
  padding-bottom: 0.25rem;
}

.adddata-button {
  display: block;
  width: 95%;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  background-color: #0066cc;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.adddata-button:hover,
.adddata-button:focus {
  background-color: #004999;
  outline: none;
}

/* <--------- Add User Styling ---------> */

#adddata {
  padding: 1rem;
  font-family: Arial, sans-serif;
}

.adduser-section {
  margin-bottom: 2rem;
}

.adduser-section h3 {
  margin-bottom: 0.75rem;
  color: #333;
  border-bottom: 2px solid #555;
  padding-bottom: 0.25rem;
}

.adduser-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.adduser-table th,
.adduser-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

.adduser-table th {
  background-color: #f2f2f2;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: bold;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.button-row {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn-submit {
  background-color: #28a745;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-submit:hover {
  background-color: #218838;
}

.btn-reset {
  background-color: #dc3545;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-reset:hover {
  background-color: #c82333;
}

.error-toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: #dc3545;
  color: white;
  padding: 0.75rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  width: 60%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.modal-close {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

/* Table Styling */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.data-table th,
.data-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

.data-table th {
  background-color: #f0f0f0;
}

.btn-details {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

.btn-details:hover {
  background-color: #0056b3;
}

/* Form Styling */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.form-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;  /* Centers the buttons horizontally */
  gap: 1rem;                 /* Adds space between buttons */
}

.btn-submit {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 0.5rem;
}

.btn-reset {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #218838;
}

.btn-reset:hover {
  background-color: #c82333;
}

/* Add User Table Styling */
.adddata-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.adddata-table th,
.adddata-table td {
  border: 1px solid #ddd;
  padding: 0.6rem 1rem;
  text-align: left;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: #333;
}

.adddata-table th {
  background-color: #f2f2f2;
  font-weight: 600;
}

/* Form Table Specific */
.adduser-form-table {
  max-width: 600px;
}

/* Buttons */
.adddata-button {
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s ease;
  color: white;
}

.submit-btn {
  background-color: #28a745; /* Green */
  margin-right: 0.5rem;
}

.submit-btn:hover,
.submit-btn:focus {
  background-color: #218838;
  outline: none;
}

.reset-btn {
  background-color: #dc3545; /* Red */
}

.reset-btn:hover,
.reset-btn:focus {
  background-color: #c82333;
  outline: none;
}

/* Input fields and selects */
input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  border-color: #0066cc;
  outline: none;
}

/* Error toast */
.error-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #cc0000;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  box-shadow: 0 0 10px #900;
  z-index: 9999;
  animation: fadeOut 3s forwards;
}

@keyframes fadeOut {
  0% {opacity: 1;}
  80% {opacity: 1;}
  100% {opacity: 0; display: none;}
}
.popup-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  color: white;
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  animation: fadeOut 3s forwards;
}

.popup-toast.success {
  background-color: #28a745;
}

.popup-toast.error {
  background-color: #cc0000;
}

@keyframes fadeOut {
  0% {opacity: 1;}
  70% {opacity: 1;}
  100% {opacity: 0; display: none;}
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.styled-table th,
.styled-table td {
    padding: 0.75em;
    border: 1px solid #ccc;
    text-align: left;
}

.section-header {
    margin-top: 2em;
    margin-bottom: 1em;
}

.styled-form label {
    display: block;
    margin: 0.5em 0 0.25em;
}

.styled-form input[type="text"] {
    width: 100%;
    padding: 0.5em;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.form-buttons {
    margin-top: 1em;
    display: flex;
    gap: 10px;
}

.btn-green {
    background-color: #28a745;
    color: white;
    padding: 0.5em 1em;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.btn-red {
    background-color: #dc3545;
    color: white;
    padding: 0.5em 1em;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1em;
    border-radius: 5px;
    color: white;
    z-index: 9999;
    opacity: 0.95;
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

.notification.hidden {
    display: none;
}

#user-table-container {
    margin: 20px auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#user-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    background-color: #fff;
}

#user-table thead {
    background-color: #004080;
    color: white;
}

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

#user-table tr:hover {
    background-color: #f9f9f9;
}

.user-update-btn {
    padding: 6px 12px;
    background-color: #007BFF;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.user-update-btn:hover {
    background-color: #0056b3;
}


#error-msg {
    color: red;
    font-weight: bold;
    padding: 10px;
}

#info-msg {
    color: #555;
    font-style: italic;
    padding: 10px;
}

/* Force override of default width */
input.half-width,
select.half-width {
  width: 100%;
  max-width: 50%;
}

	
	

