:root {
    --secondary-color: #f9c3fd;
    --main-color: #EF23A4;
    --alternate-color: #7073EE;
    --text-color: #fff;
    --yellow-color:#FABA26;
}

body {
    font-family: "Poppins", "Arial", sans-serif;
    font-size: 20px;
    scroll-behavior: smooth;
    color: var(--text-color);
    margin: 0;
    background-color: var(--main-color);
}

* {
    -webkit-tap-highlight-color: transparent;
}
body::-webkit-scrollbar {
    display: none;
}

.ripple {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.ripple-animation {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.disable-on-error.disabled,
.disable-on-error:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-container {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    vertical-align: bottom;
    color: #646464;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 14px;
    width: 14px;
    background-color: #eee;
    border: 2px solid #c9c9c9;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container:has(input:checked) {
    font-weight: 500;
    color: var(--alternate-color);
}
.checkbox-container input:checked ~ .checkmark {
    background-color: #f9d5d3;
    border: 2px solid #f44336;
}
.checkbox-container .checkmark:after {
    left: 4px;
    top: 0px;
    width: 4px;
    height: 8px;
    border: solid var(--alternate-color);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.page {
    position: relative;
    display: flex;
    margin: auto;
    justify-content: space-around;
    margin-top: 10vh;
    width: 100%;
    z-index: 2;
}
.custom-select {
    position: relative;
    font-size: 0.92em;
    font-weight: 600;
    align-self: center;
    width: 200px;
    max-width: 200px;
    padding-right: 5px;
}

.custom-select select {
    display: none;
    /*hide original SELECT element: */
}

.select-selected {
    background-color: var(--alternate-color);
    border-radius: 15px;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 12px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
    padding: 8px 16px;
    cursor: pointer;
}

.select-selected {
    color: #ffffff;
    padding-right: 30px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: white;
    font-weight: 400;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 1px 1px 20px #0000008f;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div {
    color: var(--secondary-color);
    font-weight: 500;
}

.select-items div:hover:not(.same-as-selected) {
    color: #363636;
    background-color: rgb(157, 157, 157, 0.37);
}

.select-items .same-as-selected {
    background-color: rgb(232, 42, 0, 0.89);
    color: white;
}

button,
.button {
    background-color: var(--alternate-color);
    color: white;
    border: 0px;
    outline: none;
    border-radius: 10px;
    padding: 9px 18px;
    font-weight: 600;
    font-family: "Poppins";
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: all 0.3s ease-out;
    text-decoration: none;
    font-size: 1rem;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}

button:disabled,
.button.disabled,
.button:disabled {
    opacity: 0.6;
    pointer-events: none;
    color: #ffffff8a;
}

button.bordered,
.button.bordered {
    border: 2px solid;
}
.button.x-small,
button.x-small {
    font-size: 0.83rem;
    padding: 6px 10px;
}
.button.small,
button.small {
    font-size: 0.9rem;
    padding: 8px 13px;
}

.button.large,
button.large {
    font-size: 1.18rem;
    padding: 10px 17px;
}

.button.x-large,
button.x-large {
    font-size: 1.35rem;
    padding: 10px 25px;
}

.button.secondary,
button.secondary {
    background-color: var(--alternate-color);
}

.button:hover,
button:hover {
    text-decoration: none !important;
}
.button:hover:not(.left-to-right-hover),
button:not(:disabled):hover:not(.left-to-right-hover) {
    color: var(--alternate-color);
    background-color: white;
    font-weight: 700;
}

.button.secondary:hover:not(.left-to-right-hover),
button:not(:disabled).secondary:hover:not(.left-to-right-hover) {
    color: var(--alternate-color);
}
.left-to-right-hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-105%);
    height: 100%;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease-out;
    z-index: -1;
}
.left-to-right-hover:hover {
    color: var(--alternate-color);
}
.left-to-right-hover.secondary:hover {
    color: var(--alternate-color);
}
.left-to-right-hover:hover::before {
    transform: translateX(0);
}

input:not([type="checkbox"]),
textarea {
    background-color: transparent;
    outline: none;
    border: none;
    color: #1a194cb4;
    font-size: 1rem;
    padding: 12px 9px;
    border-radius: 4px;
    transition:
        color 0.3s,
        background-color 0.3s;
    font-family: "Poppins";
    font-weight: 500;
    border-bottom: 2px solid;
    margin-bottom: 20px;
    border-color: #1a194c46;
    box-sizing: border-box;
}

input:not([type="checkbox"]).filled,
textarea.filled {
    background-color: #1a194c0c;
}

input:not([type="checkbox"]).filled.light,
textarea.filled.light {
    background-color: #ffffff12;
}

input:not([type="checkbox"]).bordered,
textarea.bordered {
    border: 2px solid;
}
input:not([type="checkbox"]):placeholder-shown,
textarea:placeholder-shown {
    border-color: #1a194c48;
}

input:not([type="checkbox"]).light:placeholder-shown,
textarea.light:placeholder-shown {
    border-color: rgba(255, 255, 255, 0.644);
}

input:not([type="checkbox"]).light,
textarea.light {
    color: white;
}

input:not([type="checkbox"]).light::placeholder,
textarea.light::placeholder {
    color: #ffffffd0;
}
input:not([type="checkbox"])::placeholder,
textarea::placeholder {
    color: #1a194c48;
    text-transform: initial;
}
input:not([type="checkbox"]):focus::placeholder,
textarea:focus::placeholder {
    color: var(--alternate-color);
}

input:not([type="checkbox"]):focus,
textarea:focus {
    border-color: var(--alternate-color) solid !important;
    color: var(--alternate-color);
    background-color: #f52d0015;
    font-weight: 600;
}

input:not([type="checkbox"]).x-small {
    font-size: 0.83rem;
    padding: 6px 5px;
}
input:not([type="checkbox"]).small {
    font-size: 0.9rem;
    padding: 8px 7px;
}

input:not([type="checkbox"]).large {
    font-size: 1.18rem;
    padding: 13px 12px;
}

input:not([type="checkbox"]).x-large {
    font-size: 1.35rem;
    padding: 14px 15px;
}

.input-with-end-icon {
    position: relative;
}
.input-with-end-icon input {
    width: 100%;
    box-sizing: border-box;
}

.input-with-end-icon .btn {
    position: absolute;
    top: 34%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.popup {
    z-index: 10;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    color: black;
    transition: ease-out 0.3s;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    display: flex;
}
.popup.opened {
    pointer-events: initial;
    opacity: 1;
    visibility: initial;
}

.popup.opened .popup-content {
    margin-top: 0px;
}

.popup-title {
    color: var(--text-color);
    font-weight: 600;
    padding: 20px;
    padding-right: 50px;
    border-bottom: 2px solid #ffffff08;
    background-color: var(--alternate-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
    font-size: 1em;
}
.popup-title .close-button {
    padding: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    color: white;
}

.popup-body {
    padding: 20px;
}
.popup-actions {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.popup-actions .button,
.popup-actions button {
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: top;
}
.popup-content p {
    margin-top: 0px;
}
.popup-content {
    font-size: 0.95em;
    overflow: hidden;
    color: var(--text-color);
    width: 100%;
    max-width: 500px;
    max-height: 100%;
    height: max-content;
    z-index: 11;
    position: relative;
    border-radius: 15px;
    display: block;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    color: var(--text-color);
    background-color: var(--secondary-color);
    color: white;
    margin-top: 100px;
    transition: 0.3s;
}

.mb-0 {
    margin-bottom: 0px !important;
}
.mb-1 {
    margin-bottom: 4px !important;
}
.mb-2 {
    margin-bottom: 8px !important;
}
.mb-3 {
    margin-bottom: 12px !important;
}
.mb-4 {
    margin-bottom: 16px !important;
}
.mb-5 {
    margin-bottom: 20px !important;
}
.mb-6 {
    margin-bottom: 24px !important;
}
.mb-7 {
    margin-bottom: 28px !important;
}
.mb-8 {
    margin-bottom: 32px !important;
}
.mb-9 {
    margin-bottom: 36px !important;
}
.mb-10 {
    margin-bottom: 40px !important;
}
.mt-0 {
    margin-top: 0px !important;
}
.mt-1 {
    margin-top: 4px !important;
}
.mt-2 {
    margin-top: 8px !important;
}
.mt-3 {
    margin-top: 12px !important;
}
.mt-4 {
    margin-top: 16px !important;
}
.mt-5 {
    margin-top: 20px !important;
}
.mt-6 {
    margin-top: 24px !important;
}

.mr-0 {
    margin-right: 0px !important;
}
.mr-1 {
    margin-right: 4px !important;
}
.mr-2 {
    margin-right: 8px !important;
}
.mr-3 {
    margin-right: 12px !important;
}
.mr-4 {
    margin-right: 16px !important;
}
.mr-5 {
    margin-right: 20px !important;
}
.mr-6 {
    margin-right: 24px !important;
}
.mr-7 {
    margin-right: 28px !important;
}
.mr-8 {
    margin-right: 32px !important;
}
.mr-9 {
    margin-right: 36px !important;
}
.mr-10 {
    margin-right: 40px !important;
}

.ml-1 {
    margin-left: 4px !important;
}
.ml-2 {
    margin-left: 8px !important;
}
.ml-3 {
    margin-left: 12px !important;
}
.ml-4 {
    margin-left: 16px !important;
}
.ml-5 {
    margin-left: 20px !important;
}
.ml-6 {
    margin-left: 24px !important;
}
.ml-7 {
    margin-left: 28px !important;
}
.ml-8 {
    margin-left: 32px !important;
}
.ml-9 {
    margin-left: 36px !important;
}
.ml-10 {
    margin-left: 40px !important;
}

.menu-slider {
    width: auto;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.menu-slider-option {
    border-bottom: white solid 1px;
    font-size: 0.9rem;
    padding: 11px 15px;
    font-weight: normal;
}
.menu-slider-option .icon {
    margin-right: 5px;
}

.menu-slider-option:hover {
    cursor: pointer;
}

.menu-slider-option.selected {
    border-bottom: white solid 3px;
    background-color: rgba(255, 255, 255, 0.322);
    font-weight: bold;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-color);
    font-size: 0.92em;
}
table a {
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
}

table.light,
table.light a {
    color: var(--secondary-color);
}
table a:hover {
    text-decoration: underline;
}

table thead tr th {
    background-color: var(--secondary-color);
    font-weight: 400;
}
table tr th,
table tr td {
    text-align: left;
    padding: 15px 10px;
}

table.dense tr th,
table.dense tr td {
    padding: 10px 8px;
}

table tr th:first-child,
table tr td:first-child {
    padding-left: 4%;
}
table tr th:last-child,
table tr td:last-child {
    padding-right: 4%;
    text-align: right;
}
table tr.hide {
    display: none;
}

table tbody tr:nth-child(odd of :not(.hide)) {
    background-color: #0071f5;
}
table tbody tr:nth-child(even of :not(.hide)) {
    background-color: transparent;
}
table tbody tr:hover {
    background-color: #1a194c52;
}

table.light tbody tr:nth-child(odd of :not(.hide)) {
    background-color: white;
}
table.light tbody tr:nth-child(even of :not(.hide)) {
    background-color: rgb(234, 236, 252);
}
table.light tbody tr:hover {
    background-color: rgb(189 197 255);
}

.tip {
    border-radius: 10px;
    background-color: #ffffff15;
    padding: 15px 20px;
    font-size: 0.9em;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url(/img/vignettage.png);
    background-size: 100% 100%;
}

@media only screen and (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}
@media only screen and (min-width: 1368px) {
    table tr th:first-child,
    table tr td:first-child {
        padding-left: 10%;
    }
    table tr th:last-child,
    table tr td:last-child {
        padding-right: 10%;
    }
}
@media only screen and (min-width: 1568px) {
    table tr th:first-child,
    table tr td:first-child {
        padding-left: 13%;
    }
    table tr th:last-child,
    table tr td:last-child {
        padding-right: 13%;
    }
}
@media only screen and (max-width: 768px) {
    .popup-overlay {
        background: linear-gradient(181deg, #000000ed, #00000099, #262572, black);
        opacity: 0.9;
    }
    table {
        font-size: 0.64em;
    }
    table tr th,
    table tr td {
        text-align: left;
    }

    table.dense tr th,
    table.dense tr td {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .desktop-only {
        display: none !important;
    }
    .page {
        flex-direction: column;
        justify-content: center;
    }

    .custom-select {
        width: 150px;
        max-width: 150px;
        padding-right: 5px;
    }

    .menu-slider {
        display: flex;
        align-items: center;
        background-color: #08081d;
        color: white;
        position: fixed;
        z-index: 10;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        box-shadow: 0px 0px 6px 3px #08081d;
        justify-content: center;
        bottom: 0px;
        left: 0px;
        width: 100%;
    }

    .menu-slider-option {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        cursor: pointer;
        transition:
            background-color 0.3s,
            color 0.3s;
        border-radius: 3px 3px 0 0;
        border-bottom: none;
        border-width: 4px !important;
    }

    .menu-slider-option .icon {
        font-size: 20px;
        margin-bottom: 4px;
        margin-right: initial;
    }
}
