﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    /* Centering the loader */
    position: relative;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

    100% {
        transform: rotate(360deg);
    }
}

.form-control {
    padding: 0.6rem;
    margin-bottom: 0.5rem;
}

.input-group-text {
    padding: 0.6rem;
    margin-bottom: 0.5rem;
}

.table-container {
    max-height: 500px;
    overflow-y: auto;
    width: 100%;
}

thead {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
    width: 1000000px;
}

td {
    white-space: nowrap;
    font-size: 14px;
}

th {
    white-space: nowrap;
    font-size: 14px;
}

.input-group {
    align-items: center; /* Ensures all elements inside align properly */
}

.input-group .form-control-sm {
    height: 33px; /* Adjust the height as needed */
}

.input-group .input-group-text {
    height: 33px; /* Same height as input */
    display: flex;
    align-items: center; /* Centers the icon inside */
    justify-content: center;
    padding: 0 10px; /* Adjust spacing */
}

label {
    color: black !important;
    font-size: 14px !important;
}

input, select, textarea {
     font-size: 14px !important;
     line-height: 1.2 !important;
}

small {
    font-size: 12px !important;
    padding-bottom: 1px!important;
}

.card-body {
    padding-top:5px;
    padding-bottom:5px;
    padding-left:15px;
    padding-right:15px;
}

.card-header {
    padding-top: 8px!;
    padding-bottom: 8px;
    padding-left: 15px;
    padding-right: 15px;
    height: 50px;
    font-size: 16px!important;
}

/* Make the table responsive */
.table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

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

.col-size {
    width: 50px; 
    text-align: center;
}

#XLS, #studentyear {
    height: 32px; /* Ensure same height for button and select */
    display: flex;
    align-items: center;
}

.nav-tabs .nav-link {
    color: white !important;
    background-color: #007bff !important;
    border: none;
    padding: 6px 8px;
    border-radius: 10px 10px 0 0 !important; /* Rounded top-left and top-right */
    margin-right: 0px; /* Space between tabs */
    font-size: 14px;
}

.nav-tabs .nav-link:hover {
    background-color: #0056b3 !important; /* Darker blue on hover */
}

.nav-tabs .nav-link.active {
    background-color: #0056b3 !important; /* Active tab color */
    border-bottom: none !important; /* Remove bottom border */
    color: white !important;
}