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 {
  margin-bottom: 60px;
}

/* Full-page overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


/* Spinner style */
.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

/* Text style */
#overlay p {
    color: white;
    font-size: 18px;
    margin-top: 20px;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

th{
    background: linear-gradient(to bottom,  #0d6efd, #0dcaf0); /* Bootstrap info → primary */
    color: white;
    text-align: left;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #0b5ed7; /* darker edge line */
}

table thead tr:first-child th:first-child {
    border-top-left-radius: 8px;
}

table thead tr:first-child th:last-child {
    border-top-right-radius: 8px;
}
