:root {
    --primary-color: #c97a31;
    --seconday-red-color: #d1302c;
}



.site-input-field {
    width: 100%;
    font-size: 1.1em;
    padding: 0.7em 1em;
    margin: 0.3em 0;
    border: 2px solid #e3e3e3;
    border-radius: 13px;
    box-sizing: border-box;
}

.site-checkbox {
    display: inline-block;
    width: 25px !important;
    height: 25px !important;
    border: 2px solid #e3e3e3 !important;
}

.color-page {
    padding: 2em 3em 2.7em;
    max-width: 400px;
    margin: 0 auto;
    /* # point gradient */
    background: linear-gradient(180deg, #F9CD48, #EB9245, #C64446);
    border-radius: 20px;
}

/* How it Works */

.how-it-works-logo {
    width: 70%;
    margin: 1.5em 15% 1.5em;
}

.how-it-works-background {
    width: 100%;
}

.bottom-section {
    background-color: black;
    padding: 1em;
    width: 100%;
    padding-bottom: 3em;
}

.how-it-works-short-description {
    font-size: 0.95em;
    color: white;
    text-align: center;
    margin: 0.3em 0 0em;
}

.how-it-works-footer-text {
    position: absolute;
    bottom: 1.2em;
    left: 0;
    width: 100%;
    font-size: 0.8em;
    color: white;
    text-align: center;
    margin: 1em 0 0;
}


/* Login Page */

.login-logo-box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-logo {
    width: 180px;
}

.login-header-text {
    font-size: 1.4em;
    color: black;
    text-align: center;
    margin: 1em 0em 2em;
}

/* Dashboard Page */

.dashboard-logo {
    width: 60%;
    margin: 1.5em 15% 2.5em;
    margin-left: 6em;
}

.dashboard-background {
    width: 100%;
}

.dashboard-section {
    padding: 1em;
    width: 100%;
    padding-bottom: 3em;
}

.dashboard-item {
    width: 80%;
    margin: 1em 10%;
}

.dashboard-aitime-provider {
    width: 100%;
    margin: 0em 0 1.5em;
}

.dashboard-aitime-provider-container {
    width: 80%;
}

.dashboard-airtime-intro {
    font-size: 1.4em;
    color: white;
    text-align: center;
    margin: 0.5em 0 1em;
}

.dashboard-short-description {
    font-size: 0.95em;
    color: white;
    text-align: center;
    margin: 2em 0 2em;
}

/* Menu */

.menu-icon {
    width: 40px;
    height: 40px;
    background-image: url(../img/menu.png);
    background-size: cover;
    position: absolute;
    top: 3.1em;
    left: 1.4em;
    z-index: 1500;
    cursor: pointer;
    filter: none;
}

.menu {
    display: none;
    position: absolute;
    top: 8em;
    left: -250px;
    width: 250px;
    height: 40em;
    background-color: black;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 1500;
    padding: 1em;
}

.menu-item {
    padding: 0.5em 0;
    border-bottom: 1px solid #ebe9e4;
    font-size: 1.2em;
    cursor: pointer;
    color: white;
}

.menu-open {
    transform: translateX(150%);
    z-index: -2;
}

.menu-logo {
    text-align: center;
    margin-bottom: 2em;
}

.menu-logo-img {
    width: 30px;
    float: right;
    transform: scaleX(-1);
}   

.menu-icon-open {
    filter: invert(1);
    background-color: #3ec0ff;
    border-radius: 200px;
}

/* Spinner */

.spinner {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.spinner-img {
    width: 100px;
    margin-top: 18em;
    border-radius: 200px;
    filter: drop-shadow(0px 0px 60px red);
}

.spinner-text {
    font-size: 1.5em;
    background-color: #0000008f;
    color: #ffffff;
    text-align: center;
    margin-top: 1em;
    width: fit-content;
    padding: 0.3em 1em;
    border-radius: 10px;
}

/* Modal Window Popup */

.page-modal-window {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 4em;
    padding-left: 4em;
    padding-right: 4em;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.page-modal-window-content {
    background: white;
    border-radius: 18px;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-modal-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--modal-header-background);
    border-top-left-radius: var(--modal-border-radius);
    border-top-right-radius: var(--modal-border-radius);
    padding: 1em;
}

.page-modal-window-title {
    font-size: 1em;
    font-weight: bold;
    color: var(--modal-header-text-color);
    text-align: center !important;
    width: 100%;
}

.page-modal-window-close {
    cursor: pointer;
    height: 1.5em;
    width: 1.5em;
    background: none;
    padding: 0em 0 0;
    border-radius: 100px;
    border: 2pt solid #333;
}

.page-modal-window-close-text {
    text-align: center;
    padding: 0em 0 0;
    font-size: 1em;
    font-weight: 500;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #333;
    margin-top: -0.2em;;
}

.page-modal-window-close:hover {
    filter: invert(1) brightness(0.8);
}

.page-modal-window-body {
    padding: 1em 2em 2em;
    margin-top: 1em;
    color: var(--primary-text-color-alt);
}

.page-modal-window-body-image {
    display: block;
    margin: 0 auto 0.5em;
    width: 65px;
}

.page-modal-window-body-title {
    font-size: 0.95em;
    text-align: center;
    padding: 0.3em 0 1em;
    color: var(--primary-color1);
}

.page-modal-window-body-text {
    font-size: 1.4em;
    text-align: center;
    font-weight: 300;
}

.modal-popup {
    padding-top: 20vh !important;
}

.select2-container--default {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0 0.1em !important;
}

/* Style for mobile devices */
@media (max-width: 576px) {
    
    .page-container {
        min-height: 100vh;
    }

    .bottom-section {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .color-page {
        max-width: 100%;
        border-radius: 0px;
    }

    .menu {
        top: 8em;
        left: -15.5em;
    }

    .menu-open {
        transform: translateX(50%);
        z-index: -2;
    }
    .modal.modal-join .modal-dialog {
        margin-top: 20vh;
        margin-left: 50px;
        margin-right: 50px;
        max-width: 300px;
    }
    #waaw-snackbar {
        margin-left: 1.5rem !important;
        margin-right: 1.5rem !important;
        left: auto !important;
    }
}

#loadingAnimation {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    text-align: center;
    padding: 20vh 10px;
    display: none;
}
#loadingAnimation img {
    display: block;
    margin: 0 auto;
    max-width: 100px;
}
#loadingAnimation span {
    font-weight: bold;
}
#loadingAnimation.show {
    display: block;
}

.modal.modal-join {
    
}
.modal.modal-join .modal-header {
    border: none;
}
.modal.modal-join .modal-dialog {
    margin-top: 20vh;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
}

#waaw-snackbar {
    visibility: hidden;
    width: 100%;
    max-width: 325px;
    margin-right: auto;
    background-color: #333; 
    color: #fff;
    text-align: center;
    border-radius: 1rem;
    padding: 16px; 
    position: fixed;
    z-index: 100;
    bottom: 30px; 
    left: 50%;
    margin-left: -175px;
}

#waaw-snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}




