:root {
    --red-bg: #bc2f32;
    --green-bg: #18a232;
    --white: #fff;
    --teams: #6264A7;
    --disabled-opacity: 0.7 !important;
    --red: #bc2f32;
}   

* { 
    box-sizing: border-box; 
}

html, body {  
    margin: 0; 
    width: 100vw; 
    height: 100vh; 
    background-size: cover; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} 

.page-padding { 
    padding: 10px !important;  
}

canvas {
    width: 100%;
    height: 100%;
}

fluent-badge {
    --badge-fill-red: #bc2f32;
    --badge-fill-green: #18a232;
}

.whiteIcon svg {
    fill: #fff !important;
}

.aButton {
    color:#fff;
    text-decoration: none !important;
    text-decoration-thickness: 0 !important;
    font-size: 14px;
    padding: 5px 10px;
    display: block;
}

.aButton:hover{
    color: #fff;
}

/* icon padding to text in buttons */
fluent-button::part(start) {
    margin-inline-end: 2px !important;
}

fluent-button::part(end) {
    margin-inline-start: 2px !important;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

fluent-tabs {
    padding: 0 !important;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

pre,
div.error {
    background-color: #e5e5e5;
    padding: 1rem;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    margin: 1rem 0;
    max-height: 250px;
}

    pre.fixed,
    div.error.fixed {
        height: 200px;
    } 

code {
    background-color: #e5e5e5;  
    display: inline-block;
    padding: 0px 6px;
    border-radius: 3px; 
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);    
}   

.centerBox {
   margin: 0 auto;  
}

.right-align {
    margin-left: auto;
}

.customTable {
    border-collapse: collapse;
    width: 100%;
}
.customTable th, .customTable td {
        border: 1px solid #ccc;
        padding: 10px;
        text-align: left;
}

.customTable th {
    background-color: #f5f5f5;
}

fluent-option {
    border-bottom: 1px solid #efefef;
}

/* First Run Experience */
.responsive-video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
}

.responsive-video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.largeFont{
    font-size: 1.3em; 
    line-height: 1.5em;
}

/* terms of use  */
.terms {
    height: 40%;
    margin-bottom: 15px;
    overflow-y: scroll;
    background: #e5e5e5;
}

/* User Table */
#FluentDataGrid {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    padding: 10px 0;
}

#MonthAndYear{font-size: 20px;}

#LogoBottom {
    display: block;
    margin: 15px auto;  
}

/* fluent Horizontal Scroll */
#inspirations {
    width: 1210px;
    height: 620px;
}

fluent-horizontal-scroll {
    height: 200px;
    margin-bottom: 2px; 
}

.inspirationImg {
    cursor: pointer;
    display: inline-block;
    background-size: 100% auto;
    width: 200px;
    height: 200px;
    margin-right: 2px;
}

.toolTipImage{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.center-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* loading screen */
.ProgressRingHome {
    margin-top: 110px;
}

.BadgeCounter {
    left: 92% !important;
}

#AppBar {
    margin: 0 auto 10px auto;
    width: 350px;
    height: 50px;
    cursor: pointer;
    background-color: #fff;
    border-radius: 4px;
}

#NavBar{
    margin-bottom: 10px;
}

/* Forms */
.InputS{
    width: 108px;
}

.InputSM{
    width: 120px;
}

.InputM {
    width: 250px;
}


/* Settings Form */
fluent-text-field[name='CityField'] {
    width: 80%;
}

.selectedFood{  
    display: flex; 
    align-items: center;
    gap: 8px;
    padding: 2px 8px;
    margin-top: 4px;
    border-radius: 3px;
    background: #efefef;
    border: 1px solid #dfdfdf;
    font-size: 12px; 
    max-width: 252px;
}
    .selectedFood img{
        width: 22px;
    }

/* Feedback Form */
.OpenFeedbackButton {
    width: 100%;
}

.FeedbackCard {
    margin: 0 0 20px 20px;
    height: auto;
    width: 400px;
}

/* DispositionForm */
#DispositionTabs  fluent-tab {
   margin-bottom: 10px;  
}

#SearchRestaurantField {
    width: 190px;
}

#placeOpened {
    background-color: #d5ffda;
}

#placeClosed {
    background-color: #ffd5d5;
}

.info {
    background-color: #ffffd5 !important;
}

.info ul {
    margin-bottom: 0;
}

fluent-option {
    display: flex;
    align-items: center;
    padding-top: 20px 10px;
}

    fluent-option img {
        vertical-align: middle;
    }

.UserTableDatePicker{
    width: 125px;
}

#foodFilterBox {
    position: absolute;
    z-index: 9999;
}

#DispoFormProgressRing {
    margin-top: 20px;
    margin-bottom: 20px;
}

.DispoFormAttendees {    
    padding: 3px 0;
    border-bottom: 1px solid #e0e0e0;
}

.results-min-height{
    min-height: 314px;  
}

.fluent-dialog-body {
    overflow-x: hidden;
}

.favorite-food-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.favoriteFood {
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 3px;
    background: #efefef; 
    border: 1px solid #dfdfdf; 
    padding: 0 3px; 
    cursor: pointer;
}

.favoriteFood img {
    width: 22px;
}

/* here Maps */
#map {
    width: 100%;
    height: 442px;
}

.marker {
    cursor: pointer;
}

.bubble {
    width: 250px;
}

    .bubble .openingHours {
        margin-top: 10px;
        font-size: 12px;
        color: #808080;
        line-height: 20px; 
    }

/* profile / charts */

.charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1000px) {
    .charts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.chart-inner {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
}

    .chart-inner canvas {
        display: block;
        width: 100%;
        height: 100%;
    }


/* mobile */
@media (max-width: 1000px) {
    html, body {
        overflow-x: hidden !important; 
        width: 100%; 
    }

    .page-padding {
        padding: 0 !important; 
    }

    .InputSM {
        width: 117px !important;  
    }

    .InputM {
        width: 90% !important;
    }

    #AppBar {
        width: 120%;
        border-radius: 0;
    }

    .RestaurantField{
        width: 100%;
    }

    #FluentDataGrid {
        border-radius: 0 !important;
    }

    .terms {
        height: 32%;
    }

    .fluent-dialog-body {
        overflow-y: auto !important;
        overflow-x: hidden !important; 
    }

    /* inspirations */
    #inspirationsDialogBody {
        overflow-y: hidden; 
    }

    #inspirations {
        margin-left: 9px;
        width: 304px !important;   
        height: auto !important;
    }

    fluent-horizontal-scroll {
        height: 150px;
    }
     
    .inspirationImg {
        width: 150px; 
        height: 150px;  
    }

    /* first run experience */
    .largeFont {
        font-size: 1em;
        line-height: 1.3em;
    }

    /* profile / charts */
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .chart-inner {
        aspect-ratio: 16 / 9;
    }

    .chart-card {
        padding: 8px;
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    }
}


