html {
  font-size: 14px;
}

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

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

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

body {
    font-family: 'Arial', sans-serif;
    margin-bottom: 35px;
}

.btn {
    border-width: 3px;
}

.btn:not(.disabled):hover {
    border-bottom-width: 3px
}

.btn-primary:not(.disabled):hover {
    background-color: #003366;
    border-color: #003366;
}

.btn-secondary:not(.disabled):hover {
    background-color: #c0c0c0;
    border-color: #c0c0c0;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.btn-logout {
    background: none;
    border: 2px solid transparent;
    color: #fff;
    padding: 5px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background-color: #003594;
    color: var(--bs-nav-link-hover-color);
    border-color: #003594;
    cursor: pointer;
}

.btn-logout:active {
    transform: scale(0.98);
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.form-label-small {
    font-size: 0.9rem;
}

.form-control-small {
    font-size: 0.9rem;
    padding: 0.4rem;
}

.form-check-label-small {
    font-size: 0.85rem;
}

.btn-small {
    font-size: 0.9rem;
    padding: 0.5rem;
}

.text-small {
    font-size: 0.85rem;
    text-align: center;
    display: block;
}

.link-color {
    color: #003594;
}

.link-color:hover {
    color: #117095;
}

.form-check {
    min-height: 1.2rem;
    padding-left: 1.2em;
}

.select-role {
    position: relative;
}

.select-role select {
    padding-right: 2.5rem;
    appearance: none;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    color: #555;
    padding: 12px 15px;
    width: 100%;
    box-shadow: none;
    height: 40px;
}

.select-role select:focus {
    border-color: #004080;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.select-role .dropdown-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #555;
    pointer-events: none;
}

.input-group-text {
    background-color: white;
    border-radius: 8px 0 0 8px;
    padding: 0.4rem;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #004080;
}

.btn {
    text-transform: none;
}

.width-15{
    width: 15%
}

.width-40px {
    width: 40px
}

.pad-40 {
    padding: 40px !important;
}

.pad-60 {
    padding: 60px !important;
}

.pad-20 {
    padding: 20px !important;
}

.container {
    max-width: 800px;
    padding: 0px;
}

.logo {
    max-width: 250px;
    margin-bottom: 20px;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.btn-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.card {
    background-color: #004080;
    border: none;
    width: 48%;
    padding: 30px;
    color: #fff;
    text-decoration: none;
}

.card:hover {
    background-color: #003366;
}

.card-title {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    font-size: 0.75rem;
    margin-top: 10px;
    color: rgb(255 255 255 / 80%);
}

.add-user-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #FFFF;
}

.add-user-card-body {
    padding: 30px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.section-header {
    background-color: #ffff99; /* Light yellow background for emphasis */
}

.section {
    margin-top: 20px;
}

.small-check-box {
    width: 13px;
    height: 13px;
}

.red {
    color: red;
}

.justify {
    text-align: justify;
    text-justify: inter-word;
}

.text-right {
    text-align: right;
}

textarea {
    width: 100%;
    height: 100px;
}

button {
    margin-top: 1px;
}

label {
    display: block;
    margin-bottom: 5px;
    text-align: justify;
}

.three-equal-width th, .equal-width td {
    width: 33.33%;
}

.readonly-field {
    background-color: #e9ecef !important;
    cursor: not-allowed !important;
}

.error-border {
    border: 2px solid red;
}

.sidebar {
    width: 250px;
    background: #004080;
    color: white;
    position: fixed;
    height: 100vh;
    padding: 20px;
    transition: width 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    max-height: 100vh;
    font-size: 15px;
}

.sidebar a, .sidebar form {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
}

.sidebar a:hover, .sidebar form:hover {
    background: rgba(255, 255, 255, 0.1);
}

.content {
    font-size: 15px;
    margin-left: 250px;
    padding: 20px;
    transition: margin-left 0.3s ease-in-out;
}

.table-container {
    margin-top: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 10px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 900;
}

.toggle-btn {
    cursor: pointer;
    font-size: 20px;
    color: black;
    background: transparent;
    border: none;
    margin-left: 260px;
    transition: margin-left 0.3s ease-in-out;
}

.collapsed .sidebar {
    width: 0;
    padding: 0;
}

.collapsed .content, .collapsed #footer {
    margin-left: 0 !important;
}

.collapsed .toggle-btn {
    margin-left: 10px;
}

.user-info {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.search-input {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

.bg-color {
    background-color: #004080;
}

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

.side-logo {
    height: 80px;
}

.search-container {
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    margin-right: 10px;
}

.search-container small {
    margin: 2px 56px 2px 0px;
    color: #666;
}

.search-container button {
    margin-top: 8px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

.search-container button:hover {
    background: #ccc;
}

.icon-center, .table-head-center th {
    text-align: center; /* Centers content horizontally */
    vertical-align: middle; /* Ensures vertical centering */
}

.pagination a {
    padding: 8px 12px;
    margin: 2px;
    text-decoration: none;
    border: 1px solid #ccc;
    display: inline-block;
    color: black;
}

.pagination a.active {
    font-weight: bold;
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination span {
    padding: 8px 12px;
    margin: 2px;
    display: inline-block;
}

.list-student-table>:not(caption)>*>* {
    padding: 5px !important;
}

.flex-between-center {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 10px;
}

.pad-60 {
    padding-top: 60px;
}