body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    overflow-x: auto;
    /*max-width: 1800px;*/
    /*margin: 20px auto;*/
    /*padding: 20px;*/
    /*background-color: #fff;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
}
.container2 {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.container3 {
    max-width: 300px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container {
    max-width: 600px; /* Adjust the width as desired */
    margin: 0 auto; /* Centers the container on the page */
}

h1, h2, h3 {
    color: #039c0e;
}

.navbar {
    background-color: #039c0e;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start; /* Align items to the start */
    align-items: center;
    gap: 15px; /* Space between links */
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    /* FIX: Make the font size smaller */
    font-size: 14px; /* You can adjust this value */
}

.navbar a:hover {
    background-color: #73c804;
}

.navbar-right {
    margin-left: auto; /* Pushes elements to the right */
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Add a specific rule to make the welcome text smaller */
.navbar-right {
    font-size: 14px; /* Adjust this value as well */
}

.login-container {
    max-width: 300px;
    margin: 150px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control, input[type="text"], input[type="password"], input[type="date"], select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't expand width */
}

.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
    display: block;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-warning {
    background-color: red;
    color: white;
    border: none;
}

.btn-success {
    background-color: #039c0e;
    color: white;
    border: none;
}

.btn-success:hover {
    background-color: #28a745;
}

.btn-approve {
    background-color: #28a745;
    color: white;
    border: none;
    margin-right: 5px;
}
.btn-approve:hover { background-color: #218838; }

.btn-deny {
    background-color: #dc3545;
    color: white;
    border: none;
}
.btn-deny:hover { background-color: #c82333; }

.alert {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

hr {
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 40px 0;
}
.form-group1 {
    margin-bottom: 15px;
    /* text-align: left; <-- Remove or change this line */
    text-align: center;
}
/* for logout and change pw */
/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button (gear icon) */
.dropbtn {
    background-color: transparent;
    color: white;
    padding: 14px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
/* Gear icon menu styles */
.gear-dropdown {
    position: relative;
    display: inline-block;
}

.gear-btn {
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #088912ff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    right: 0; /* Align to the right of the button */
    border-radius: 5px;
    overflow: hidden; /* Ensures rounded corners on children */
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #550654ff;
}

/* Show the dropdown when the 'show' class is active */
.dropdown-content.show {
    display: block;
}
.btn-secondary:hover {
      background-color: #089420; /* Example hover color */
      cursor: pointer; /* Changes the cursor to a pointer on hover */
    }
