:root {
    --primary-color: #c21010;
    --navbar-color: #c21010;
    --bg: #eee;
}

@font-face {
    font-family: 'Aftika';
    src: url('./aftika.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*
{
    scrollbar-width: none;  /* Firefox */
    box-sizing: border-box;
}
html,
body {
    min-height: 100vh;
    max-height: 100vh;
    margin: 0;
    background: #111;
    font-family: 'Aftika', 'Trebuchet MS', sans-serif;
    -webkit-tap-highlight-color: transparent !important;
    overflow-x: hidden;
    overflow-y: auto;
}

.float-r {
    float: right;
}

.roundbas{
    border-radius: 35px 50px 35px 35px !important;
}

.container {
    position: relative;
    /* todo: hacky? */
    /* height: calc(100vh - 57px); */
    height: 100vh;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: height 0.25s;
}
.container:has(.hide-navbar.active) {
    height: 100vh;
}

.dim-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    user-select: none;
    z-index: 5;
}

.dim-bg.active {
    display: block;
}

#message-dim-bg {
    z-index: 110;
}

#main-topbar {
    position: fixed;
    top: 0;
    background-color: transparent;
    background-image:
        linear-gradient(to bottom, var(--navbar-color), var(--primary-color)),
        linear-gradient(to bottom, var(--navbar-color), transparent);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 200%;
    background-position: 0 0, 0 100%;
    color: white;
    text-decoration: none;

    width: 100%;

    padding: 10px;
    box-sizing: border-box;
    z-index: 2;
    border-radius: 0px 0px 10px 10px;
    max-height: 110px;
    transition: all 1s, background-color 1s step-end, background-position 1s step-end, background-size 0.25s, max-height 0.5s, z-index 0s, color 0.25s;
}

#main-topbar.scrolling {
    background-size: 100% 0, 100% 100%;
    border-radius: 0;
}

#main-topbar:has(#search-container.active) {
    transition: all 1s, background-size 0s, max-height 0.75s, z-index 0s, background-color 0.25s, color 0.25s, border-radius 0.1s;
    z-index: 7;
    border-radius: 0 0 25px 25px;
    /* note/todo: 56px matches navbar */
    max-height: calc(100vh - 56px);
    background-size: 100% 0;
    background-position: 0 0%;
    background-color: var(--bg);
    color: black;
}

#main-topbar:has(#search-container.active.full) {
    border-radius: 0;
}

/* may make this into a class if needed elsewhere */
#nav-currentaddress {
    transition: height 0.2s;
    display: block;
    height: 20px;
    overflow: hidden;
}

#main-topbar.scrolling #nav-currentaddress {
    height: 0px;
}

#search-container {
    transition: padding 0.5s;
    padding: 15px;
}

#main-topbar.scrolling #search-container {
    padding: 5px;
}

#search-button {
    width: 0;
    font-size: 2em;
}

#search-container.active #search-button {
    width: 40px;
}


#searchbar {
    width: 100%;
    border-radius: 25px;
}

#search-overlay {
    overflow: hidden;
    padding: 10px 0;
    box-sizing: content-box;
    max-height: 0px;
    transition: padding 0.5s, max-height 0.5s;
}

#search-container.active #search-overlay {
    max-height: 350px;
}

#search-container.active.full #search-overlay {
    /* todo: this is a really janky hack. must fix */
    max-height: calc(100vh - 177px);
    scrollbar-width: none;
    /* todo.?? look at this again for other divs */
    overflow-y: auto;
}

.search-input-group {
    display: flex;
    align-items: center;
}

#search-overlay h2 {
    margin-bottom: 8px;
    font-size: 1.2em;
}

.search-list {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.search-list::-webkit-scrollbar {
    height: 6px;
}

.search-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.search-item {
    flex: 0 0 96px;
    max-width: 96px;
    height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid #ddd;
}

.search-item:last-child {
    border-right: 0;
}

.search-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 4px;
}

.search-name {
    font-size: 0.75em;
    line-height: 1.2em;
    max-height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}























#content-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: var(--bg);
}

.content {
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    /* note/todo: look at this again; feels very hacky. */
    min-height: 100%;
    max-height: 100%;
    box-sizing: border-box;
    /* 57px + 32px */
    padding: 0 0 89px 0;
    overflow-y: auto;
    z-index: 0;
    scrollbar-width: thin;
    transition: left 0.5s, opacity 0.5s;
}

.content.hidden {
    display: none;
    opacity: 0;
}

.left-position {
    left: -100%;
    opacity: 0;
}

.right-position {
    left: 100%;
    opacity: 0;
}

.content.topbar-present {
    /*todo: revisit padding-top number */
    padding-top: 110px;
}

.content-padding {
    padding-left: 25px;
    padding-right: 25px;
}

.content-chat {
    /*todo: hacky numbers again */
    margin-top: 180px;
    /* 303 = 180(margin for chat topbar) +57(navbar) + 66(chat input height) */
    min-height: calc(100% - 303px);
    max-height: calc(100% - 303px);
    padding: 0;
}

.hide-navbar {
    z-index: 20;
    min-height: 100vh;
    background-color: var(--bg);
}

/* just to add subtle branding. can remove */
#content-bg::after {
    content: "";
    position: absolute;
    bottom: 96px;
    left: 0;
    height: 256px;
    width: 256px;
    rotate: -45deg;
    background-image: url(./img/rydez_sq.png);
    background-repeat: no-repeat;
    background-size: contain;

    background-blend-mode: normal;
    filter: brigtness(1);
    opacity: 0.05;

    pointer-events: none;
    user-select: none;
}

.maintab-greeting {
    padding: 16px 16px 0 24px;
    margin-bottom: 0;
}

.carousel {
    position: relative;
    width: 100%;
    height: 256px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    user-select: none;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    will-change: transform;
    touch-action: pan-y;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    transform: translateX(100%);
    /* off-screen by default */
    transition: transform 600ms cubic-bezier(.22, .9, .3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
}

.carousel-slide.active {
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    user-drag: none;
    pointer-events: auto;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    cursor: pointer;
}

.carousel-arrow.left {
    left: 12px;
}

.carousel-arrow.right {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 1;
}

.carousel-dot {
    width: 32px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.carousel-dot .progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: linear-gradient(to bottom, #fff, #eee);
    transition: width linear;
}

.carousel.paused .carousel-arrow {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.02);
}

.carousel.paused .carousel-dot .progress {
    background: linear-gradient(to right, green, yellowgreen);
}

@media (max-width: 480px) {
    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .carousel-dot {
        width: 28px;
        height: 6px;
    }
}










.message-alert {
    position: fixed;
    bottom: -0%;
    padding: 25px;
    border-radius: 25px 25px 0 0;
    box-sizing: border-box;
    color: white;
    text-decoration: none;
    width: 100%;
    transition: all 0.25s;
    background-color: #111;
    z-index: 110;
}

.message-alert.red {
    background-color: var(--navbar-color);
}

.message-alert.hidden {
    bottom: -100%;
}

.floating-bottom-bar {
    position: fixed;
    /* todo/note: hacky number again */
    bottom: 57px;
    left: 0;
    width: 100%;
    padding: 20px 25px;
    box-sizing: border-box;
    text-align: center;
    background-image: linear-gradient(to bottom, transparent, var(--navbar-color));
    background-size: 100% 50px;
    background-position: bottom;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadein-up 0.5s 0.5s forwards;
}

@keyframes fadein-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#navbar {
    position: fixed;
    bottom: 0;
    padding: 0;
    color: white;
    text-decoration: none;
    border-radius: 16px 16px 0px 0px;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    transition: all 0.25s;
    background-image: linear-gradient(to bottom, #b51010, var(--navbar-color)), linear-gradient(var(--primary-color), var(--primary-color));
    background-repeat: no-repeat;
    background-size: 100% 78px, 100% auto;
    background-position: top, 0 78px;
}
#navbar.red {
    background-image: linear-gradient(to bottom, #b51010, var(--navbar-color)), linear-gradient(var(--primary-color), var(--primary-color));
}
#navbar.active {
    transition: all 0.4s;
    z-index: 6;
    border-radius: 25px 25px 0 0;
    padding-top: 10px;
}

#navitems {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 0;
    margin: 0;
}

#navitems li {
    width: 100%;
    list-style: none;
    text-align: center;
    padding: 0;
}

#navitems a {
    cursor: pointer;
    display: block;
    color: #ffffff;
    filter: brightness(0.9) drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.25));
    text-align: center;
    padding: 8px 8px;
    text-decoration: none;
    font-size: 14px;
}

#navitems li.active a {
    color: var(--navbar-color);
    filter: drop-shadow(2px 4px 4px rgba(0, 0, 0, 0.25)) drop-shadow(1px 1px 4px var(--navbar-color));
}
#navbar.red #navitems a {
    color: white;
}
#navbar.red li.active a {
    color: white;
    filter: drop-shadow(2px 4px 4px rgba(0, 0, 0, 0.25)) drop-shadow(1px 1px 4px #fff);
}
#navitems a:hover {
    filter: brightness(0.5);
}

.navbar-img {
    display: block;
    margin: auto;
    font-size: 1.6em;
    max-width: 64px;
    max-height: 64px;
}

.navbar-img img {
    width: 54px;
    height: 32px;
    object-fit: cover;
}

.navbar-item-name {
    display: inline-block;
    transition: color 0.25s;
    color: white;
    overflow: hidden;
}


#navbar-actions {
    overflow: hidden;
    padding: 0 25px;
    box-sizing: content-box;
    max-height: 0px;
    transition: padding 0.4s, max-height 0.5s;
}

#navbar.active #navbar-actions {
    max-height: 350px;
    padding: 25px 25px;
}







/* browse/main page */
.food-categories {
    padding: 25px;
    position: relative;
}

.food-categories::after {
    content: "";
    position: absolute;
    display: block;
    right: 20px;
    top: 16%;
    width: 5px;
    height: calc(100% - 50px);
    box-shadow: 0 0 15px black;
    clip-path: inset(0 0 0 -15px);
}

.food-categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.food-category {
    flex: 0 0 auto;
    width: 64px;
    text-align: center;
    scroll-snap-align: start;
    margin: 0px 8px;
}

.food-category img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 6px auto;
}

.food-category span {
    font-size: 0.9rem;
    color: #333;
    display: block;
}

.main-featured-restaurants-container {
    background: #fff;
    padding: 10px;
    margin-bottom: 32px;
}

.restaurant-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 5px;
}

.restaurant-card {
    cursor: pointer;
    user-select: none;
    background: #fff;
    border: 2px solid #ddd;
    border-left: 0;
    border-right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: filter 0.2s ease;
    padding: 10px;
}

.restaurant-list.horizontal {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

.restaurant-list.horizontal .restaurant-card {
    flex: 0 0 auto;
    width: 320px;
    margin-right: 8px;
    border: 2px solid #ddd;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    scroll-snap-align: start;
    padding: 0;
    border-radius: 20px;
}


.restaurant-list.horizontal .restaurant-card .restaurant-body {
    padding: 10px;
}

.card-drop-in {
    transform: translateY(-5px);
    opacity: 0;
}

.restaurant-card:hover {
    filter: brightness(0.9);
}

.restaurant-banner {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 10px;
    background: lightgray;
}

.restaurant-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.restaurant-body {}

.restaurant-name {
    font-size: 1.4rem;
    margin: 10px 0 8px 0;
    color: #333;
}

.restaurant-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 0 0;
}

.restaurant-cuisine {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #999;
}

.tag {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    font-size: 0.85em;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    user-select: none;
}

.tag::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shine 1.5s ease-out forwards;
}

.tag-banner {
    position: absolute;
    right: 8px;
    top: 8px;
    display: inline-block;
    text-align: center;
}

.restaurant-card:hover .restaurant-meta .tag::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shine 1.5s ease-out forwards;
}

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

.toast {
    padding:10px;
    font-size:1.25em;
    width: 100%;
    box-sizing:border-box;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    user-select: none;
    background-color: #f0f0f0;
    color: #333;
    font-weight: normal;
}

.yellow {
    background-color: #ffcc00;
    color: #000;
}

.red {
    background-color: #ff6f61;
    color: #fff;
}

.green {
    background-color: #4caf50;
    color: #fff;
}

.blue {
    background-color: #2196f3;
    color: #fff;
}

.stars {
    color: #f5a623;
    font-size: 1.2rem;
}

.status {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 5px;
}

.status.open {
    background: #4caf50;
    color: #fff;
}

.status.closed {
    background: #f44336;
    color: #fff;
}

.restaurant-info p {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #555;
}

.featured-items h3 {
    margin-top: 12px;
    font-size: 1.1rem;
    color: #222;
}

.featured-items ul {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}

.featured-items li {
    background: #f9f9f9;
    margin: 4px 0;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.restaurant-footer {
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 0.95rem;
    color: #444;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.restaurant-footer span {
    flex: 0 0 auto;
    text-align: center;
    background: #eee;
    padding: 5px;
    border-radius: 25px;
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -150px;
    }

    100% {
        left: 100%;
    }
}

/* skeleton ooooo */
.restaurant-card.skeleton-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.restaurant-card.skeleton-card {
    filter: none;
}

.skeleton-banner {
    width: 100%;
    height: 150px;
}

.skeleton-meta {
    display: flex;
    gap: 8px;
}

.skeleton-tag {
    width: 80px;
    height: 20px;
}

.skeleton-title {
    width: 60%;
    height: 24px;
}

.skeleton-text {
    width: 40%;
    height: 16px;
}

.skeleton-info {
    width: 100%;
    height: 40px;
}

.skeleton-footer {
    display: flex;
    gap: 12px;
}

.skeleton-footer span {
    width: 60px;
    height: 16px;
}


/* Styling for specific pages */

.user-header {
    text-align: center;
}

.user-header img {
    width: 64px;
}

.user-header h2 {
    margin-top: 0;
}

section {
    margin-bottom: 30px;
    padding: 10px;
}

.settings-section h2 {
    margin-bottom: 10px;
    font-size: 1.2em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.content-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.content-form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

input,
textarea {
    padding: 10px;
    font-family: inherit;
    border: 2px solid #212121;
    border-radius: 10px;
    box-sizing: border-box;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

.content-option-group {
    margin-bottom: 16px;
    background: #fff;
}

.content-option-group h2 {
    margin-top: 0;
}

.option-group {
    display: flex;
    flex-direction: column;
}

.group-label {
    padding: 24px 0 16px 16px;
    display: block;
}

.option-group input[type="radio"],
.option-group input[type="checkbox"] {
    display: none;
}

.option-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 16px;
    border-bottom: 2px solid #ccc;
    position: relative;
    transition: background 0.2s ease;
}

.option-group label:last-child {
    border-bottom: 0;
}

.option-group label::after {
    content: "";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 8px;
    color: #fff;
}

.option-group input[type="radio"]:checked+label,
.option-group input[type="checkbox"]:checked+label {
    background: #ffe5e5;
}

/* Show checkmark when selected */
.option-group input[type="radio"]:checked+label::after,
.option-group input[type="checkbox"]:checked+label::after {
    content: "\f00c";
    /* Font Awesome check icon */
    color: red;
}

.content-option-group label small {
    display: block;
    color: gray;
}

.content-option-group label .required {
    color: red;
}

.menu-item.unavailable {
    opacity: 0.6;
}

.menu-item.unavailable .add-btn {
    background: #aaa;
    cursor: not-allowed;
}

.btn {
    font-family: inherit;
    display: inline-block;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: black;
    background-clip: padding-box, border-box;
    background-origin: border-box;
    background-image:
        linear-gradient(#e5e5e5, #e5e5e5),
        linear-gradient(to right, #ddd, #ccc);
    text-decoration: none;
}

.btn.rounded {
    border-radius: 50px;
}

.btn.full {
    width: 100%;
    margin-bottom: 10px;
}

.btn:hover {
    background:
        linear-gradient(#ddd, #ddd),
        linear-gradient(to right, #999, #777);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn.clear {
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: none;
    color: inherit;
    border: none;
    cursor: pointer;
    transition: width 0.3s ease, padding 0.3s ease;
}

.btn.clear:hover {
    background: none;
    transform: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-ez-clr {
    color: white;
    background-image:
        linear-gradient(var(--primary-color), var(--primary-color)),
        linear-gradient(to right, #b22222, #ff4d4d);
}

.btn-primary {
    color: white;
    background-image:
        linear-gradient(#0066cc, #0066cc),
        linear-gradient(to right, #3399ff, #66ccff);
}

.btn-primary:hover {
    background:
        linear-gradient(#005bb5, #005bb5),
        linear-gradient(to right, #1a8cff, #4db8ff);
}

.btn-success {
    color: white;
    background-image:
        linear-gradient(#2e8b57, #2e8b57),
        linear-gradient(to right, #3cb371, #66cdaa);
}

.btn-success:hover {
    background:
        linear-gradient(#26734d, #26734d),
        linear-gradient(to right, #2e8b57, #5cbf88);
}

.btn-danger {
    color: white;
    background-image:
        linear-gradient(maroon, maroon),
        linear-gradient(to right, #b22222, #ff4d4d);
}

.btn-danger:hover {
    background:
        linear-gradient(#b00, #b00),
        linear-gradient(to right, #e74c3c, #ff6b6b);
}

.btn-black {
    background: #333;
    color: white;
}

.btn-black:hover {
    background: #555;
}

.list-buttons {
    padding: 0;
}

.list-buttons li {
    list-style: none;
}

.btn.btn-list {
    width: 100%;
    list-style: none;
    display: inline-block;
    box-sizing: border-box;
    border-radius: 0;
    font-size: 1.2rem;
    text-align: left;
    transition: all 0.3s ease;
}

.btn.btn-list:has(a) {
    padding: 0;
}

.btn.btn-list a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 12px 20px;
}

.btn.btn-list:first-child {
    border-radius: 12px 12px 0 0;
}

.btn.btn-list:last-child {
    border-radius: 0 0 12px 12px;
}

.btn.btn-list:only-child {
    border-radius: 12px;
}

.btn.btn-list.navbar {
    color: white;
    background-image:
        linear-gradient(maroon, maroon),
        linear-gradient(to right, #b22222, #ff4d4d);
}

.btn.btn-list.navbar:hover {
    background:
        linear-gradient(to right, #b00, #b00),
        linear-gradient(to right, #e74c3c, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn.page-back {
    display: block;
    padding-top: 25px;
    font-size: 2em;
}

.btn.circled {
    border-radius: 50%;
    background-image: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 8px 8px 8px;
    font-size: 1.5em;
    color: white;
    width: 48px;
    aspect-ratio: 1 / 1;
}

.btn.circled:hover {
    background: white;
    color: black;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}


/* View a restaurant page */
.restaurant-page {
    /* todo/note: hacky number. */
    margin-bottom: 57px;
}

.restaurant-view-banner {
    position: relative;
    max-height: 256px;
    overflow: hidden;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.1);
}

.restaurant-view-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.banner-actions {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
}

.restaurant-view-header {
    display: flex;
    align-items: flex-start;
    padding: 16px;
}

.restaurant-view-quickstats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 2px solid #c5c5c5;
    background: #e5e5e5;
    border-left: 0;
    border-right: 0;
    font-size: 0.95rem;
    color: #444;
}

.restaurant-view-logo {
    width: 96px;
    height: 96px;
    margin-right: 16px;
}

.restaurant-view-header.small .restaurant-view-logo {
    width: 64px;
    height: 64px;
    margin-right: 8px;
}

.restaurant-view-info p {
    margin: 4px 0;
}

.restaurant-view-name {
    font-size: 2rem;
    margin: 8px 0;
}

.restaurant-view-header.small .restaurant-view-name {
    font-size: 1.25rem;
    margin: 8px 0;
}

.restaurant-view-tagline {
    font-style: italic;
    color: #666;
}

.restaurant-view-meta {
    color: #888;
}

.restaurant-view-header.small .restaurant-view-meta {
    font-size: 0.9rem;
}

.banner-alert {
    display: block;
    background-color: #b5b5b5;
    color: #111;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.banner-alert.yellow {
    background-color: #ffcc00;
    color: #000;
}

.banner-alert.red {
    background-color: #ff6f61;
    color: #fff;
}

.banner-alert.green {
    background-color: #4caf50;
    color: #fff;
}

.banner-alert.blue {
    background-color: #2196f3;
    color: #fff;
}

.restaurant-view-reviews {
    padding: 16px;
}

.review {
    margin-bottom: 12px;
}

.rating {
    color: goldenrod;
}

.menu-notice {
    background: #f9f9f9;
    padding: 12px;
    text-align: center;
    font-size: 0.9em;
    color: #555;
}

.featured-items {
    padding: 16px;
}

.featured-list {
    display: flex;
    gap: 12px;
}

.featured-card {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.featured-card:hover {
    filter: brightness(0.9);
}

.featured-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}












.menu-tabs {
    position: relative;
}

.tab-nav {
    display: flex;
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #ddd;

    overflow-x: scroll;
    scrollbar-width: none;
}

.tab-nav li {
    padding: 8px 16px;
    cursor: pointer;
}

.tab-nav li.active {
    border-bottom: 2px solid #333;
    font-weight: bold;
}

.tab-topbar {
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #ddd;
    display: none;
    /* hidden until triggered */
    z-index: 1000;
}

.tab-topbar .tab-nav {
    margin: 0;
}

.tab-pane {
    margin-top: 8px;
    background: #fff;
    border: 2px solid #ddd;
    border-left: 0;
    border-right: 0;
    padding: 10px;
}

.tab-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.tab-banner {
    height: 96px;
    margin-bottom: 16px;
}

.tab-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menu items */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2px;
    border-bottom: 1px solid #ccc;
    background: white;
    padding: 16px;
}

.menu-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-info h3 {
    margin: 0 0 4px 0;
}

.item-info p {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    color: #444;
}

.price {
    font-weight: bold;
    color: #333;
    display: block;
}

/* Skeleton loaders for restaurant view */

.skeleton-text {
    margin: 4px 0;
}

.restaurant-view-banner.skeleton {
    width: 100%;
    height: 256px;
    border-radius: 0;
}

.restaurant-view-logo.skeleton {
    width: 96px;
    height: 96px;
    border-radius: 50%;
}

/* Information page */
.restaurant-map {
    display: block;
    background: lightgoldenrodyellow;
    color: black;
    width: 100%;
    height: 192px;
    margin: 16px 0;
}

.opening-hours {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
}

.opening-hours td {
    padding: 6px 8px;
    font-size: 0.95em;
    color: #555;
}

.opening-hours td.hours {
    text-align: right;
    color: #333;
}

.opening-hours tr.today {
    background-color: #e6f7e6;
    font-weight: bold;
    border-radius: 4px;
}

.social-links {

    display: flex;
    gap: 12px;
    font-size: 1.4em;
}

.social-links a {
    color: #666;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #000;
}

.restaurant-website {
    margin: 4px 0;
}

.restaurant-website a {
    color: #0066cc;
    text-decoration: none;
    display: inline-block;
    margin-top: 4px;
    position: relative;
}

.restaurant-website a:hover {
    text-decoration: underline;
}

/* Location */
.restaurant-location {
    margin-top: 8px;
}

.restaurant-location p {
    margin: 4px 0;
    color: #555;
}

.restaurant-location .small {
    font-size: 0.85em;
    color: #777;
}

/* Registration info */
.restaurant-registration {
    margin-top: 12px;
    font-size: 0.9em;
    color: #777;
}

.share-link {
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.share-link:hover {
    text-decoration: underline;
}

.copy-feedback {
    display: none;
    margin-left: 8px;
    font-size: 0.85em;
    color: #28a745;
}

.restaurant-phonenum {
    padding: 12px 24px;
    border: 2px solid #ccc;
    background: #ddd;
    border-left: 0;
    border-right: 0;
    display: block;
    text-decoration: none;
    color: black;
    margin-top: 16px;
}

/* Addresses page */

.content-menu-buttons {
    width: 100%;
    border-collapse: collapse;
}

.content-menu-item td {
    padding: 16px 32px;
    background: #fff;
    border-top: 2px solid #ccc;
}

.content-menu-item:last-child td {
    border-bottom: 2px solid #ccc;
}

.content-menu-item:not(.nohover):hover td {
    cursor: pointer;
    background: #ddd;
}

.content-menu-item.current td {
    background: #ccc;
    font-weight: bold;
}

.content-menu-item.disabled {
    opacity: 0.5;
}

.content-menu-item.disabled td {
    cursor: not-allowed;
}

.content-menu-item.disabled:hover td {
    background: inherit;
}

.content-menu-text {
    width: 100%;
}

.content-menu-label {
    font-size: 1.1rem;
    font-weight: bold;
}

.content-menu-main {
    margin-top: 2px;
    font-size: 0.95rem;
}

.content-menu-desc {
    margin-top: 2px;
    font-size: 0.85rem;
    color: #333;
}

.content-menu-small {
    margin-top: 2px;
    font-size: 0.8rem;
    color: #999;
}

.content-menu-action {
    width: 40px;
    text-align: center;
}

.content-menu-action i {
    cursor: pointer;
    margin: 0;
}





#cart-items {
    margin-top: 16px;
}

.cart-item-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
}

.quantity-controls {
    display: flex;
    margin-top: 8px;
    align-items: center;
    gap: 8px;
}

.quantity-controls .quantity {
    min-width: 24px;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
}

.cart-special-instructions {
    margin-top: 16px;
}

.cart-special-instructions p {
    border: 1px solid black;
    display: block;
    padding: 10px;
    margin-top: 8px;
}

.content-item-image {
    display: block;
    margin: auto;
    margin-bottom: 32px;
    height: 256px;
}

/* Checkout page */
.content-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}

.content-section h2 {
    margin-top: 0;
}

.content-option-group h2 {
    padding: 16px;
    margin: 0;
}

.order-items .order-item,
.order-totals div {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    align-items: center;
}

.order-totals .grand-total {
    font-weight: bold;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.checkout-section input[type="text"] {
    width: calc(100% - 100px);
    padding: 8px;
    margin-right: 8px;
}

.delivery-options-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scroll-snap-type: x mandatory;
}

.delivery-option {
    flex: 0 0 auto;
    width: 160px;
    cursor: pointer;
    scroll-snap-align: start;
}

.delivery-option input {
    display: none;
}

.option-box {
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.option-box h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.option-box p {
    margin: 0 0 6px 0;
    font-size: 0.9rem;
    color: #555;
}

.option-box .price {
    font-weight: bold;
    color: #333;
}

.delivery-option input:checked+.option-box {
    border-color: #28a745;
    background: #e9f9ee;
}











.chat-header {
    background: var(--navbar-color);
    color: #fff;
}

.slide-out-left .chat-header,
.slide-in-right .chat-header {
    margin-top: -180px;
}

.slide-out-left .chat-input:not(.no-nav),
.slide-in-right .chat-input:not(.no-nav) {
    bottom: -66px;
}

.chat-info {
    display: flex;
    align-items: flex-start;
    margin-top: 16px;
    padding-bottom: 8px;
    color: #fff;
}

.chat-header .avatar {
    border-radius: 50%;
    margin-right: 8px;
}

.chat-header .text h2 {
    margin: 0 0 8px 0;
}

.chat-header .text p {
    margin: 8px 0;
}

.chat-header .text .order {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.chat-messages {
    padding: 16px;
    overflow-y: auto;
    background: #f9f9f9;
}

.message-info {
    font-size: 0.85rem;
    color: #888;
    padding: 25px;
    text-align: center;
}

.message-info i {
    font-size: 2em;
}

.message {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.message .bubble {
    padding: 10px 14px;
    border-radius: 24px;
    max-width: 70%;
}

.message.sent .bubble {
    color: white;
    background-color: var(--primary-color);
    align-self: flex-end;
}

.message.received .bubble {
    background: black;
    color: white;
    align-self: flex-start;
}

.message .timestamp {
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
}

.message.sent .timestamp {
    text-align: right;
}

.chat-image {
    display: block;
    margin-top: 8px;
    max-width: 100%;
    border-radius: 6px;
}

.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 8px;
    background: #fff;
    position: fixed;
    /* hacky number: bottom from navbar */
    bottom: 57px;
    width: 100%;
    box-sizing: border-box;
}
.chat-input.no-nav {
    bottom: 0;
}

.chat-input input {
    flex: 1;
    margin-right: 10px;
}

.past-order-date {
    padding-left: 25px;
}

.order-steps {
    display: flex;
    align-items: flex-start;
    padding: 0 16px;
}

.step {
    flex: 0 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #888;
}

.circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    color: #444;
}

.step span {
    font-size: 0.85rem;
    word-wrap: break-word;
}

.connector {
    flex: 1;
    height: 4px;
    background: #ddd;
    margin-top: 22px;
    min-width:32px;
}

.step.completed .circle {
    background: var(--primary-color);
    color: #fff;
}

.step.completed span {
    color: var(--primary-color);
}

.step.active .circle {
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
}

.step.active span {
    color: var(--primary-color);
}

.step.completed+.connector {
    background: var(--primary-color);
}

.content-rider-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.content-rider-name {
    display: block;
    font-size: 1.1rem;
}

.content-rider-name .rating {
    font-size: 0.9rem;
}

@font-face {
    font-family: "Mandatory";
    src: url("./Mandatory.otf") format("opentype");
}

.content-rider-plate {
    display: block;
    margin-top: 8px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    font-family: "Mandatory", sans-serif;
    font-size: 1.2rem;
}

.wallet-balance-big {
    display: block;
    font-size: 3em;
    text-align: center;
    margin: 48px 0;
}

code {
    font-family: "Courier New", Courier, monospace;
    background: #f5f5c5;
    border: 2px solid gray;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.rideinfo-homepage p {
    position: relative;
    z-index: 1;
}

.icon-bg {
    position: absolute;
    opacity: 0.5;
    right: 0;
    top: 60%;
    transform: translateX(25%) translateY(-50%);
    font-size: 10em;
}

.icon-bg.light {
    color: white;
}

.rideinfo-homepage {
    position: relative;
    aspect-ratio: 16 / 8;
    display: block;
    max-width: 512px;
    margin: auto;
    margin-bottom: 16px;
}

.taginfo-footer {
    position: absolute;
    bottom: 4px;
    right: 10px;
}

.services {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.service-btn {
    flex: 1;
    padding: 0;
    border: 1px solid #aaa;
    box-shadow: 0px 0px 4px rgba(a0, 0, 0, 0.25);
}
.service-btn-main {
    position: relative;
    display: inline-flex;
    min-height: 220px;
}
.service-img-header {
    display: block;
    padding: 10px;
    /*background: red;*/
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.service-img-header img {
    display: block;
    margin: auto;
    height: 64px;
}

.service-img-header i {
    font-size: 2.5em;
}

.onepage {
    overflow: hidden;
}

.content-menu-icon {
    align-content: center;
    padding-right: 16px;
}

#map {
    height: 100vh;
    background-color: gray;
}

input.circled {
    border-radius: 25px;
}

.full-pulldown {
    position: absolute;
    height: 100%;
    max-height: calc(100vh - 50px);
    width: 100%;
    border-top: 5px solid #ddd;
    background: #eee;
    bottom: 0;
    border-radius: 25px 25px 0 0;
    box-sizing: border-box;
    z-index: 7;
    transition: bottom 0.25s;
}

/* todo:: keep?? */
.full-pulldown::aftedr {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: #bbb;
    border-radius: 2px;
}

.pulldown-hidden {
    bottom: -100%;
}

.pulldown-fitcontent {
    height: auto;
}

.address-form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    flex-direction: row;
    gap: 10px;
}

.icon-wrapper {
    position: relative;
    width: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 1.5em;
}

.icon-wrapper::after {
    content: "";
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    height: 26px;
    border-left: 2px dotted #212121;
}

.ridedetails-addresses .icon-wrapper::after {
    border-left: 2px dotted #888;
}

.address-form-group:last-of-type .icon-wrapper::after {
    display: none;
}

.address-form-group input {
    flex: 1;
}

.banner-actions {
    transition: opacity 0.5s;
}

.banner-actions.opacity-hidden {
    opacity: 0;
}

.ride-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    width: 100%;
    text-align: left;

    padding: 14px 18px;
    background-image:
        linear-gradient(#f8f8f8, #f8f8f8),
        linear-gradient(to right, #ddd, #ccc);
    margin-bottom: 8px;
}

.ride-btn .ride-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.ride-btn .ride-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ride-btn .ride-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ride-btn .ride-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.ride-btn .ride-meta {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ride-btn .ride-price {
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

.ride-btn:hover {
    background-image:
        linear-gradient(#efefef, #efefef),
        linear-gradient(to right, #ccc, #bbb);
    transform: translateY(-1px);
}

.ride-btn.active {
    border-color: #0078ff;
    background-image:
        linear-gradient(#eaf3ff, #eaf3ff),
        linear-gradient(to right, #0078ff, #005fcc);
    color: #003f7f;
}

.ride-btn.active .ride-price {
    color: #003f7f;
}

.ride-btn.active .ride-meta {
    color: #004a99;
}

textarea {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e5e5e5;
    border-radius: 6px;
    overflow: visible;
    position: relative;
    transition: opacity 0.25s;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0078ff, #00b7ff);
    border-radius: 6px;
    position: absolute;
}

.progress-fill.marquee {
    width: 40%;
    left: -40%;
    animation: marquee 1.6s ease-out infinite;
}

.progress-bar:has(.marquee) {
    overflow: hidden;
}

@keyframes marquee {
    0% {
        left: -40%;
        width: 40%;
    }

    50% {
        width: 60%;
    }

    100% {
        left: 100%;
        width: 40%;
    }
}

.progress-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(24px);
    width: 48px;
    height: 48px;
    background-image: url('./img/rydez/ridex.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    scale: -1 1;
    left: 0%;
    transition: left 0.4s ease;
}

.pulldown-container {
    padding: 8px;
    gap: 4px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-clip: padding-box, border-box;
    background-origin: border-box;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to right, #ddd, #ccc);
    margin-bottom: 16px;
}

.pulldown-container .content-rider-plate {
    padding: 0;
    text-align: right;
    margin-right: 16px;
    background: none;
    border: 0;
}

.content-rider-carname {
    font-size: 0.8em;
    margin-right: 16px;
}

.driver-info {
    line-height: 8px;
    text-align: center;
}

.car-info {
    margin-left: auto;
    text-align: center;
}

.btn-group {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
}

.btn-group .btn {
    border-radius: 0;
    border-right: 2px solid transparent;
}

.btn-group .btn:first-child {
    border-radius: 8px 0 0 8px;
}

.btn-group .btn:last-child {
    border-radius: 0 8px 8px 0;
}

.btn-group-full {
    display: flex;
    width: 100%;
}

.btn-group-full .btn {
    flex: 1;
    text-align: center;
}

.btn-group-full .btn-group-shrink {
    flex: 0 0 auto;
    width: auto;
}

.ridedetail-address.active {
    display: block;
    padding: 4px;
    border-radius: 8px;
    border: 4px solid white;
    padding: 10px;
    animation: blink 3s ease-in-out infinite;

    font-weight: bold;
    font-style: italic;
}

@keyframes blink {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: white;
    }
}

.content-rider-info.arrived .driver-info {
    margin: auto;
    line-height: 25px;
}

.content-rider-info.arrived .content-rider-plate {
    display: unset;
    font-size: 1.3em;
}

.content-rider-info.arrived .content-rider-carname {
    font-size: 1em;
}

.content-rider-info.arrived .content-rider-name {
    display: unset;
    font-size: 1.6em;
}

.rating-wrapper {
    margin: 24px 0px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
    touch-action: none;
}

.value {
    margin-top: 0.5rem;
    text-align: center;
    color: #9ca3af;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    font-size: 1.25em;
}

.tipamount-input {
    display: block;
    text-align: center;
    border: 0;
    font-size: 5em;
}

.tipamount-input input {
    border: 0;
    background: none;
    color: white;
    font-size: inherit;
    -webkit-appearance: none;
    text-align: center;
}

.tipamount-input input::-webkit-outer-spin-button,
.tipamount-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.navbar-ezapp-logo-red { /* assumes a white stencil image */
    filter: brightness(0) saturate(100%) invert(13%) sepia(54%) saturate(6230%) hue-rotate(353deg) brightness(91%) contrast(100%);
}
/* helpers */
.static {
    position: static;
}
.d-block {
    display: block;
}
.d-flex {
    display: flex !important;
}
.m-auto {
    margin: auto;
}
.m-0 {
    margin: 0;
}
.p-0 {
    padding: 0;
}
.f-1-25 {
    font-size: 1.25em;
}
.t-center {
    text-align: center;
}
.rydez-ad {
    background:white;
    border-radius:10px;
    border:3px solid #aaa;
    margin-bottom:16px;
}
.rydez-ad img {
    aspect-ratio: 16 / 9;
    display:block;
    margin:auto;
}
.toast-action-link {
    font-size: 1rem;
}
.loading-center-img {
    position: absolute;
    bottom:128px;
    left:50%;
    transform:translateX(-50%);
}
.loading-text {
    font-size:2em;
    text-align:center;
}
.hide-navbar.active ~ #navbar {
    opacity: 0;
}

.btn-label {
    position: relative;
    display: block;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
}
.service-btn-main .btn-label {
    text-align: left;
}
.btn-label img {
    max-height: 32px;
    max-width: 32px;
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 4px;
}
.content-menu-buttons.content-menu-child tr:first-child td {
    border-top: 0;
}
.content-menu-buttons.content-menu-child tr:last-child td {
    border-bottom: 0;
}
.ezapp-container {
    background:white;
    border: 2px solid #ddd;
    margin:24px;
    padding: 25px;
    border-radius:10px;
}
.ezapp-container h3 {
    margin:0;
    margin-bottom: 16px;
}
/* todo:: rem to remove global when putting into css file */
#content-bg::after {
    background-image: url('./global/img/ezlogo4.svg');
}
.service-btn-chevron {
    position: relative;
    top: 8px;
    float: right;
    width: 22px;
}

.img-white {
    filter: brightness(0) invert(1);
}
.service-btn-imgicon {
    font-size: 24px;
    padding: 4px;
    margin-bottom: 4px;
}
.service-btn-label-txt {
    margin-top:4px;
}
.nav-wallet {
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
}
.btn-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    user-select: none;
    object-position: top;
    object-fit: cover;
    border-radius: 8px;
}
.locked {
    flex: 2;
    position: relative;
}
.locked-btn-group {
    pointer-events: none;
    cursor: not-allowed;
    display:flex;
    gap:8px;
    filter: blur(1px) saturate(0.5);
    height: 100%;
}
/* slight black background over the buttons */
.locked-bg {
    position: absolute;
    font-size: 0.75em;
    color: #c21010;
    font-weight: bold;
    text-shadow: 1px 1px 2px white;
    top: 0;
    left: 0;
    width: 100%;
    height: 95%;
    background: rgba(0, 0, 0, 0);
}
.chains {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:100%;
    height:8px;
    background-image: url("./global/img/construction_stripe.svg");
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
    border: 2px dotted black;
    opacity: 1;
}
.lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    font-size: 1em;
    background: black;
    color: #ffc535;
    border: 2px solid #ffc535;
    padding: 1px;
}
.comingsoon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    font-size: 1em;
    background: black;
    color: #ffc535;
    border: 2px solid #ffc535;
    padding: 1px;
}