/* 
    Created on : 03 Feb 2026, 11:14:12
    Author     : Dakalo Nemaangani
*/

/* Global styles */

:root {
    --waaw-color-red: #d3242a;
    --waaw-color-yellow: #ffed01;
    --waaw-color-orange: #f68a1f;
    --waaw-color-light: #ffffff;
    --waaw-color-dark: #000000;
    --waaw-color-grey-light: #ced1d3;
    --waaw-color-grey-dark: #59595b;
    --waaw-color-grey: #a8a9ad;
}

@font-face {
    font-family: Inter;
    src: url(../fonts/Inter-Regular.otf);
}

@font-face {
    font-family: Inter;
    src: url(../fonts/Inter-SemiBold.otf);
    font-weight: bold;
}

body {
    background-color: var(--waaw-color-light);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 1em;
    margin: 0;
    padding: 0;
}

/*html {
    scrollbar-width: thin;
    scrollbar-color: var(--waaw-color-orange) transparent;
}*/

/* Width of the scrollbar */
#waawPageContent::-webkit-scrollbar {
    width: 5px;
}

/* Background of the track */
::-webkit-scrollbar-track {
    background: var(--waaw-color-light);
}

/* The draggable handle */
::-webkit-scrollbar-thumb {
    background-color: var(--waaw-color-grey);
    border-radius: 10px;
    border: 3px solid var(--waaw-color-grey); /* Creates padding around thumb */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--waaw-color-grey);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.site-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    max-width: 100%;
    margin: 0em auto;
    border: none;
    border-radius: 0px;
    background-color: var(--waaw-color-light);
}

#waawPageContent {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.page-container {
    position: relative;
    min-height: 100%;
}

.page-gradient {
    background: #D3242A;   
    background: linear-gradient(45deg, var(--waaw-color-red) 0%, var(--waaw-color-orange) 50%, var(--waaw-color-yellow) 100%);
}

.auth-padding {
    padding: 2em 3em;
}

.form-white-background {
    background-color: white;
    padding: 1em;
    border-radius: 20px;
}

.waaw-btn-close {
    border: solid 2px;
    border-radius: 50%;
    padding: 0.4em;
}
.waaw-btn-close.light {
    border-color: var(--waaw-color-light);
    background-color: transparent;
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 24px;
    text-align: center;
    color: var(--waaw-color-light);
    display: block;
    line-height: 0px;
}

.form-horizontal label {
    color: var(--waaw-color-grey);
    margin-top: 0.25em;
}

button, input, optgroup, select, textarea {
    font-family: Inter;
}

.checkbox-green .form-check-input:checked { 
    border: 2px solid var(--waaw-color-grey-light) !important;
    background-color: #5fbd64; 
}

.text-red {
    color: var(--waaw-color-red) !important;
}
.text-yellow {
    color: var(--waaw-color-yellow) !important;
}
.text-light {
    color: var(--waaw-color-light) !important;
}
.text-dark {
    color: var(--waaw-color-dark) !important;
}
.text-grey {
    color: var(--waaw-color-grey) !important;
}

.bg-red {
    background-color: var(--waaw-color-red) !important;
}
.bg-yellow {
    background-color: var(--waaw-color-yellow) !important;
}
.bg-light {
    background-color: var(--waaw-color-light) !important;
}
.bg-dark {
    background-color: var(--waaw-color-dark) !important;
}
.bg-grey {
    background-color: var(--waaw-color-grey-light) !important;
}

.bg-gradient {
    background: #D3242A;   
    background: linear-gradient(90deg, var(--waaw-color-red) 0%, 
        var(--waaw-color-orange) 100%) !important;
}

.btn-red {
    color: var(--waaw-color-light);
    border-color: var(--waaw-color-red);
    background-color: var(--waaw-color-red);
    font-weight: bold;
    border-radius: 1rem;
    padding: 0.4em 0;
    font-size: 1.2em;
    border-width: 2px;
}
.btn.btn-red:hover, .btn.btn-red.active, .btn.btn-red:active {
    color: var(--waaw-color-red);
    background-color: var(--waaw-color-light);
    border-color: var(--waaw-color-red);
}

.btn-dark {
    color: var(--waaw-color-light);
    border-color: var(--waaw-color-dark);
    background-color: var(--waaw-color-dark);
    font-weight: bold;
    border-radius: 1rem;
    padding: 0.4em 0;
    font-size: 1.2em;
    border-width: 2px;
}
.btn.btn-dark:hover, .btn.btn-dark.active, .btn.btn-dark:active {
    color: var(--waaw-color-dark);
    background-color: var(--waaw-color-light);
    border-color: var(--waaw-color-dark);
}

.btn-outline-light {
    color: var(--waaw-color-light);
    border-color: var(--waaw-color-light);
    background-color: transparent;
    font-weight: bold;
    border-radius: 1rem;
    padding: 0.4em 0;
    font-size: 1.2em;
    border-width: 2px;
}
.btn.btn-outline-light:hover, .btn.btn-outline-light.active, .btn.btn-outline-light:active {
    color: var(--waaw-color-dark);
    background-color: var(--waaw-color-light);
    border-color: var(--waaw-color-dark);
}

.btn-sticky-footer {
    position: absolute;
    left: 1em;
    right: 1em;
    bottom: 1em;
}

.form-control, .form-select {
    border-width: 2px;
    border-radius: 0.6em;
}
.form-control::placeholder {
    color: var(--waaw-color-grey-light);
}

/* Modal */

.modal.modal-waaw .modal-dialog {
    margin-top: 25vh;
    margin-left: 50px;
    margin-right: 50px;
    max-width: 300px;
}

/* Menu Button container */
.waaw-header {
    display: flex;
}
#waaw-menu-icon {
    padding: 2em 20px;
    align-self: center;
    padding-right: 0;
}
#waaw-menu-icon img {
    width: 45px;
    height: auto;
    margin-top: 5px;
}
.waaw-header-logo {
    padding: 2em 0;
    margin: 0 auto;
}
.waaw-header-logo img {
    width: 100%;
    height: auto;
    max-height: 70px;
}

.waaw-header-floating {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Menu Content */
#waawMenu {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 20%;
    background: var(--waaw-color-light);
    border-right: solid 2px var(--waaw-color-grey-light);
    z-index: 1;
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
}
#waawMenu.show {
    display: block;
    transition: right 0.5s ease-in-out;
}
.waaw-menu-header {
    color: var(--waaw-color-light);
    background-color: var(--waaw-color-red);
    padding: 2rem;   
}
.waaw-menu-body {
    padding: 2rem; 
}
.waaw-menu-body .list-group-item {
    text-align: left;
    border: none;
    padding-left: 0px;
    padding-right: 0px;
    font-weight: bold;
}
.waaw-menu-body .list-group-item.active {
    color: var(--waaw-color-red);
    background-color: transparent;
    border-color: transparent;
}
.waaw-menu-user {
    font-size: 1.6em;
    font-weight: bold;
    margin-top: 70px;
    line-height: 1.2;
}

/* Footer */
.waaw-footer {
    text-align: center;
    padding: 1rem 0rem;
    font-size: 0.8em;
}
.waaw-footer span {
    color: inherit;
}
.footer-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Profile Page */
.page-header-red {
    background-color: var(--waaw-color-red);
    color: var(--waaw-color-light);
}
.page-header-red .page-title {
    font-size: 1.8em;
    text-align: center;
    font-weight: bold;
    padding-bottom: 0.8em;
}
.page-body {
    padding: 1em;
}

.select2-container--default .select2-selection--single {
    height: fit-content;
    border: 2px solid var(--bs-border-color);
    border-radius: 0.6em;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-top: 3px;
    padding-bottom: 3px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px;
}

/* FAQ */
.btn-faq {
    width: 100%;
    color: var(--waaw-color-grey-dark);
    background-color: var(--waaw-color-light);
    text-align: left;
    font-weight: normal;
    border-radius: 0.5em;
    box-shadow: 0px 1px 5px var(--waaw-color-grey);
}
.faq-item-container {
    background-color: var(--waaw-color-light);
    margin-bottom: 0.75em;
    border-radius: 0.5em;
}
.faq-answer {
    color: var(--waaw-color-grey-dark);
    margin-top: 0.25em;
}
.faq-caret {
    float: right;
}
.faq-caret img {
    max-width: 25px;
}

/* WaaW loader */
#waawLoader {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    opacity: 0.98;
    background: #D3242A;   
    background: linear-gradient(45deg, var(--waaw-color-red) 0%, var(--waaw-color-orange) 50%, var(--waaw-color-yellow) 100%); 
}
#waawLoader.show {
    display: block;
}
.loader-animation-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    margin-top: 50%;
}
.loader-animation {
    border: 4px solid var(--waaw-color-light); /* Light grey border */
    border-top: 4px solid var(--waaw-color-orange); /* Blue top border that creates the spinning effect */
    border-radius: 50%; /* Makes the div a circle */
    width: 200px;
    height: 200px;
    animation: loader-spin 1s linear infinite; /* Applies the spin animation */
}
.loader-animation-container img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
}
#waawLoader .loader-text {
    color: var(--waaw-color-light);
    font-weight: bold;
    text-align: center;
    font-size: 1.5em;
    margin-top: 1.5em;
}
@keyframes loader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Style for desktop and tablets */
@media (min-width: 576px) {
    
    body {
        padding: 2em;
        background-color: var(--waaw-color-grey-light);
    }
    
    .site-container {
        position: relative;
        margin: 0 auto;
        border-radius: 20px;
        border: 2px solid var(--waaw-color-grey);
        width: 100%;
        height: 90vh;
        max-width: 400px;
        overflow: hidden;
    }
    
    .modal.modal-waaw .modal-dialog {
        margin-top: 25vh;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
    }
    
}

/* Admin styles */

