body {
    font-size: 13px !important;
    line-height: 22px !important;
    font-family: "Quicksand","Open Sans","Helvetica","Tahoma","Arial",sans-serif !important;
    height: auto !important;
    //overflow: hidden;
    background-color: #f4f4f4;
}

#global-loader {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    color: white;
    padding: 10px 20px;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/*.readonly-style {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}*/

.readonly-style {
    background-color: #e9ecef !important;
    opacity: 1;
    cursor: not-allowed;
}

.readonly-style-radio {
    opacity: 0.6;
    cursor: not-allowed !important
}

.nav-tabs {
    margin-bottom: 0;
}

.tab-content {
    background: white;
    padding: 30px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-box {
    width: 100%;
    max-width: 600px;
}

.login-container {
    display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 60px 20px !important;
        background-color: #ecf0f1;
        box-sizing: border-box;
}

.login-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background-color: #2980b9;
    border: none;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.logo img {
    height: auto;
    width: auto;
    max-height: 50px;
    width: 150px;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    display: block;
}

.contentslider {
    border-top: 5px solid #12b0f3;
    height: 80px;
    margin-top: 20px;
    background: #18272d url("../images/contentslide.jpg") no-repeat scroll left top;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.contentslider h2 {
    color: #FFFFFF !important;
    margin: 0;
    padding: 0;
}

.contentslider p {
    margin: 0;
    color: #FFFFFF;
    font-size: 14px;
}
.contentslider span {
    color: #FFFFFF;
}

#timer {
    font-weight: bold;
    color: #12b0f3;
    margin-left: 5px;
}


h1, h2, h3, h4, h5 {
    color: #13b0f3 ! important;
    font-family: "Quicksand","Open Sans","Helvetica","Tahoma","Arial",sans-serif !important;
    font-weight: 400;
    margin-bottom: 15px;
}

h1 {
    font-size: 24px !important;
    text-transform: uppercase;
}

h2 {
    font-size: 22px !important;
}

h3 {
    font-size: 20px !important;
}

h4 {
    font-size: 18px !important;
}

h5 {
    font-size: 16px !important;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    align-items: center;
}

nav form {
    display: flex;
    align-items: center;
    margin: 0;
}

nav a {
    color: #12b0f3;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
}

nav a:hover {
    background-color: #12b0f3;
    color: #ffffff;
}

.nav-link-button {
    background: none;
    border: none;
    color: #12b0f3;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font: inherit;
    display: inline-block;
}

.nav-link-button:hover {
    background-color: #12b0f3;
    color: #ffffff;
}

.content {
    padding: 40px 10px 5px 10px !important;
}

footer {
    background-color: #ffffff;
    color: #12b0f3;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
}

footer a {
    color: white;
}

.full-height {
    height: 100%;
}
.textarea-full {
    height: 100%;
    min-height: 180px;
    resize: vertical;
}

.form-error {
    color: red !important;
    font-size: 0.9em;
    margin-top: 4px;
}

table {
    font-size: 12px ! important;
}

thead th {
    text-align: center;
    vertical-align: middle;
}

th a {
    color: #12b0f3;
}

thead.sticky th {
    position: sticky !important;
    top: var(--menu-height, 0px) !important;
    z-index: 50 !important;
}

thead.table-dark.sticky th {
    background-color: #212529 !important;
    color: white !important;
}


.error-start {
    color: #12b0f3 !important;
}

.alert-error {
    background-color: #f8d7da;
    color: #842029;
    padding: 15px;
    border: 1px solid #f5c2c7;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
}

.alert-success {
    background-color: green;
    color: white;
    padding: 15px;
    border: 1px solid #f5c2c7;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
}

.custom-card-header {
    font-weight: bold;
    background-color: var(--bs-primary);
    color: var(--bs-white);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,.125);
    line-height: 1.25;
}


.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: #12b0f3;
    cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 100%;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}