form {
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

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

th {
    background-color: #f2f2f2;
}

body {
    font-family: Arial, sans-serif;
    margin: 0 0;
    padding: 0;
    background-color: #f4f4f4;
}

.content-container{
    margin: 0 10px;
}

h2 {
    color: #333;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

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

input, select {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

button {
    background-color: #0083B3; /* ITU blue */
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #F5FAFC; /* ITU pale blue */
}

button.right {
    float: right;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

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

th {
    background-color: #0083B3; /* ITU blue */
    color: #fff;
}

.tab-content {
    display: none;
}

.active-tab {
    display: block;
}

/* Pagination Controls */
.pagination {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
}

.pagination .page-btn,
.pagination .prev-btn,
.pagination .next-btn {
    background-color: #0083B3; /* ITU blue */
    border: none;
    color: white;
    padding: 5px 10px;
    margin: 2px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
}

.pagination .page-btn:hover,
.pagination .prev-btn:hover,
.pagination .next-btn:hover {
    background-color: #F5FAFC; /* ITU pale blue */
}

.pagination .page-btn.active {
    background-color: #F5FAFC; /* ITU pale blue */
}

.pagination span {
    color: #666;
    padding: 5px 10px;
    margin: 2px;
}

/* Adjusting for disabled state if you have disabled buttons */
.pagination .page-btn:disabled,
.pagination .prev-btn:disabled,
.pagination .next-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


/* Adjusting table styles for better alignment with pagination */
table th, table td {
    padding: 8px;
}
table td {
    text-align: left;
}

table th {
    background-color: #0083B3; /* ITU blue */
    color: white;
    text-transform:capitalize;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px; /* Space between table and pagination */
}

table, th, td {
    border: 1px solid #ddd;
}

/* Hover effect for table rows */
table tr:hover {
    background-color: #f5f5f5;
}

/* Overlay Styles */
#loadingOverlay {
    position: fixed; /* Or absolute if you're covering a specific positioned container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 9999; /* Ensure it sits on top of other content */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center;
}

.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Loader Text Style */
#loadingOverlay p {
    color: #ffffff; /* White text */
    margin-top: 10px; /* Space between loader and text */
}

/* Add this to your CSS code */
.error-message {
    color: #d9534f; /* Bootstrap's error color */
    margin-top: 5px;
    font-size: 12px;
}

.btn-primary.disabled {
    opacity: 0.5; /* Reduced opacity to indicate it's disabled */
    cursor: not-allowed; /* Change cursor to indicate it's not clickable */
    pointer-events: none; /* Prevents pointer events */
}

.tab-btn.active {
    background-color: #3496bd; /* ITU pale blue */; /* Active background color */
}

.hidden {
    display: none;
}

.btn-right {
    background: #3bafdd; /* ITU pale blue */
}