/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Nov 9, 2022, 10:44:10 AM
    Author     : minty
*/

.label {
  color: white;
  padding: 8px;
}

.success {background-color: #04AA6D;} /* Green */
.info {background-color: #2196F3;} /* Blue */
.warning {background-color: #ff9800;} /* Orange */
.danger {background-color: #f44336;} /* Red */
.other {background-color: #e7e7e7; color: black;} /* Gray */

html, body {
    height: 100%;
}

html {
    display: table;
    margin: auto;
}

body {
    display: table-cell;
    vertical-align: top; 
    /*or can do top align with top*/
}

/*.content {
  max-width: 800px;
  margin: auto;
}*/


.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    max-width: 1200px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}


.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}


.styled-table th,
.styled-table td {
    padding: 12px 15px;
}


.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}


.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}


/*this is the code for the pagination that is on the error list*/

.form-container {
    display: flex;
    align-items: center;
}

.form-container button {
    margin-left: 10px; /* Add desired space between the buttons */
}

.pagination-container {
    width: 100%;
    overflow-x: auto;
    text-align: center;
}

.pagination {
    white-space: nowrap;
}

.pagination .page-item .page-link {
    color: #ffffff; /* Text color */
    background-color: #044638; /* Background color */
    border-color: #00493A; /* Border color */
}

.pagination .page-item.active .page-link {
    background-color: #007A61; /* Active page background color */
    border-color: #00493A; /* Active page border color */
}

.custom-btn {   /*for adding a custom color scheme to my button*/
    background-color: #00a883; /* Replace with your desired color code */
    border-radius: 1px; /* Adjust the value to control the roundness of the corners */
    /* Add any other custom styles as needed */
}

/* END OF this is the code for the pagination that is on the error list*/


/* CSS for the modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*overflow: auto; this isnt needed since there is no overflow for the size modal*/
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 800px; /* Adjust the width as per your requirement */
    height: 500px; /* Adjust the height as per your requirement */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-actions {
    text-align: right;
    margin-top: 20px;
}

.ellipsis-btn {
        background-color: transparent;
        border: none;
        cursor: pointer;
}

.ellipsis-btn:focus {
    outline: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}


.ellipsis-btn {
    font-size: 20px; /* Adjust the font size as desired */
    padding: 6px 10px; /* Adjust the padding as desired */
    border: 1px solid #000; /* Add a border with the desired style */
    border-radius: 8px; /* Add rounded corners with the desired radius */
}

.larger {
    font-size: 24px; /* Increase the font size for a larger button */
    padding: 6px 14px; /* Increase the padding for a larger button */
}


.modal {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.modal-content {
  position: relative;
  width: 800px;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
}

.modal-body {
  text-align: center;
  margin-bottom: 20px;
}

.modal-actions {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  margin-right: 10px;
}

.full-width-element {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin-top: 20px;
  margin-bottom: 20px;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-inside .active {
    color: #4dbd74;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.page-header {
    display: inline;
    margin-right: 10px; /* Adjust the margin as needed */
}


.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.page-link {
    margin: 0 5px;
    padding: 8px 16px;
    background-color: #f2f2f2;
    border: 1px solid #dddddd;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.page-link:hover {
    background-color: #ddd;
}

.page-link.dots {
    cursor: pointer;
    padding: 8px 16px;
}

.page-link.active {
    font-weight: bold;
    background-color: #ddd;
}
