* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(to right, #01649f, #195ca3);
    color: #ffffff;
    padding-bottom: 25px;
}

section {
    background: #dfebfb;
    flex-grow: 1;
}

.result-container {
    background: white;
    max-width: 500px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.m-10 {
    margin: 20px;
}

.result-header {
/*    background: #ffeac5;*/
    background: #c5daff;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
}

.regclass {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.nav-main {
    background: #01649f;
    border-top: 1px solid #f0f0f0;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: auto;
}

.nav a {
    flex: 1;
    color: white;
    text-decoration: none;
    padding: 10px;
}

.regclass div {
    background: #24b1bb;
    border-radius: 10px;
    color: #ffffff;
    padding: 10px 20px;
    flex: 1;
    margin: 5px;
}

.result-header h1,
.result-header h3,
.result-header p {
    margin: 5px;
}

.result-container-main {
    margin: auto;
    max-width: 500px;
    margin-bottom: 100px;
}

.result-header h1 {
    font-size: 20px;
    text-transform: uppercase;
}

.result-header h3 {
    font-size: 15px;
    text-transform: capitalize;

}

.result-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    border-collapse: collapse;
    width: 100%;
}

tr,
td,
th {
    padding: 15px;
    font-size: 14px;
}

tr {
    background: #ffffff;
}

tr:nth-child(even) {
    background: #f0f0f0;
}

tr td{
    width: 45%;
}

tr th{
    width: 10%;
}

table tr:last-child {
    background: linear-gradient(to right, #ed1848, #940d35);
    color: white;
}

table tr:nth-last-child(2) {
    background: linear-gradient(to right, #00669d, #2459a5);
    color: white;
}

td[colspan="3"] {
    font-size: 120%;
    font-weight: bold;
    border-radius: 0px 0px 10px 10px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0px 0px 20px;
}

.address {
    font-size: 10px;
}

.header-container h1 {
    font-size: 16px;
    text-align: left;
    margin: 10px;
}

.logo {
    width: 100px;
}

.color-fff5f1 {
    color: #fff5f1;
}

.color-bab324 {
    color: #ab7e17;
}

.pubtitle {
    font-size: 15px;
}

button {
    background: #2758a5;
    border-radius: 25px;
    color: #ffffff;
    padding: 10px 20px;
    flex: 1;
    margin: 10px;
    margin-top: 20px;
    min-width: 150px;
    border: none;
    outline: none;
}

button:hover {
    background: #1d4580;
    cursor: pointer;
}

@media (min-width: 768px) {
    .regclass {
        flex-direction: row;
    }

    .address {
        font-size: 20px;
    }

    .logo {
        width: 200px;
    }

    .header-container {
        max-width: 700px;
        margin: auto;
        margin-top: 30px;
    }

    .header-container h1 {
        font-size: 26px;
        text-align: left;
        margin: 10px;
    }

    .pubtitle {
        font-size: 25px;
    }

    .result-container {
        max-width: 600px;
    }

    .result-container-main {
        max-width: 600px;
    }
}

@media print {
    .no-print {
        display: none !important;
    }

    .result-container-main {
        margin-bottom: 10px;
    }
}

select, input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: white;
    color: black;
}

label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    text-align: left;
}

/*loader*/
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #0000;
  border-right-color: #ffa50097;
  position: relative;
  animation: l24 1s infinite linear;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: inherit;
  animation: inherit;
  animation-duration: 2s;
}

.loader:after {
  animation-duration: 4s;
}

@keyframes l24 {
  100% { transform: rotate(1turn); }
}

/*loader*/
.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}