

body{
    box-sizing: border-box;
}


main{
    width:70%;
    margin:0 auto;
    margin-bottom: 55px;
}

nav{
    position: fixed;
    padding: 0 !important;
    margin: 0 !important;
    bottom: 0;
    width:100%;
    box-shadow: 10px 10px 20px rgba(36, 36, 36, 0.5);
    z-index: 502;
}

nav a{
    padding: 0 !important;
    margin: 0 !important;
    background-color:white;
}

nav a i{
    width: 100%;
    text-align: center;
    font-size:30px;
    padding:5px !important;
    background-color: white;
    color:blue;
}

nav a p{
    width: 100%;
    text-align: center;
    font-size:10px;
    padding:5px !important;
    background-color: white;
    color:blue;
}

nav a i:hover{
    color:#F44336;
    /* background-color: blue; */
    padding:5px !important;
}   

h1{
    width: fit-content;
    margin: 0 auto;
}

/* Prevent dropdown overflow on dashboard */
.input-group {
    flex-wrap: nowrap !important;
    max-width: 100%;
}

.input-group .form-select {
    min-width: 0;
    flex: 1 1 auto;
}

.input-group-text {
    flex-shrink: 0;
    white-space: nowrap;
}

.fab_btn {
    background-color: #F44336;
    width: 46px;
    height: 46px;
    border-radius: 100%;
    background: #F44336;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 23px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: .3s;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    position: fixed;
    bottom: 60px;
    right: 30px;
    z-index: 200;
  }
  
  .fab_btn:hover {
    transform: scale(1.5);
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    background-color: blue;
  }

.fab_btn_two{
    background-color: #F44336;
    width: 46px;
    height: 46px;
    border-radius: 100%;
    background: #F44336;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 23px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: .3s;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    position: fixed;
    bottom: 60px;
    right: 100px;
    z-index: 200;
}

.fab_btn_two:hover{
    transform: scale(1.5);
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    background-color: blue;
}



dialog{
    position: fixed;
    top:25%;
    box-shadow: 10px 10px 20px rgba(36, 36, 36, 0.5);
    width: calc(100vw - 20px);
    border-radius: 20px;
    z-index: 20;
}

dialog input{
    width: calc(100% - 20px) !important;
    margin:10px auto;
    border-radius: 5px;
}
dialog select{
    width: calc(100% - 20px) !important;
    margin:10px auto;
    border-radius: 5px;
}
dialog button{
    margin-top:10px;
    margin-right:20px;
    float:right;
}


.activityIndicate{
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  
.cursor-pointer{
    cursor:pointer;
}
 
.cursor-pointer:hover{
    cursor:pointer;
    background-color: lightgrey;
}

.cursor-pointer:disabled{
    color:grey;
}

.signin-buttons{
    width:50%;
    float:left;
}

.signin-buttons button{
    width:100%;
}

.main-signin-button{
    width:100%;
    
}

h3,h2,h4,h5,h6{
    text-align: center;
}



.btn{
    background-color: blue !important;
    color:white !important;
    font-weight: bold !important;
}

.active-tab{
    background-color: blue !important;
    color:white !important;
}
.active-tab i{
    background-color: blue !important;
    color:white !important;
}
.active-tab p{
    padding:0;
}

.ingredientrow:hover{
    margin:0;
    cursor: pointer;
    background-color: lightslategray;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.ingredientrow p{
    margin:0;
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.ingredientrow input{
    margin:0;
    padding-top: .25rem;
    padding-bottom: .25rem;
}


.addDay:hover{
    cursor: pointer;
    /* width: 65vw;
    margin: 5px 0;
    border: 3px solid lightblue;
    border-radius: 5px; */
}

.addCursorPointer:hover{
    cursor: pointer;
}


.icon-replace{
    font-size: 10px !important;
}

a .icon-replace{
    font-size: 10px !important;
}

.menu-select{
    width:100% !important;
}

.entree-image-div{
    border-radius: 5px;
    background-color: grey;
    padding:5px;
}

.entree-image{
    border-radius: 5px;
    background-color: lightblue;
    margin: 5px;
    padding:5px;
}

.accordion-button{
    padding: 5px 10px !important;
}

.entree-image{
    max-width: calc(100% - 10px);
    max-height: 35vh;
}

.image-upload{
    max-width: 50%;
}


/******************************************************/
#roulette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* <— allows stacked layout */
  opacity: 0;
  z-index: 99999;
  transition: opacity 0.8s ease-in-out;
}

#roulette-overlay.show { opacity: 1; }
#roulette-overlay.hide { opacity: 0; }


 .circle-spin {
            width: 60px !important;
            height: 60px !important;
            border-radius: 50% !important;
            color: transparent !important;
            background-color: transparent !important;
            border: 6px solid #e0e0e0 !important;
            border-top-color: #0d6efd !important;
            animation: spin-circle 1s linear infinite;
            padding: 0 !important;
            min-width: 0 !important;
            pointer-events: none;
            box-shadow: none !important;
            display: inline-block;
        }
        @keyframes spin-circle {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        #roulette-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 10000;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }
        #roulette-overlay.show {
            opacity: 1;
            pointer-events: auto;
        }
        #roulette-overlay.hide {
            opacity: 0;
            pointer-events: none;
        }
        #roulette-title {
            color: #fff;
            font-size: 2rem;
            margin-bottom: 2rem;
            font-weight: bold;
            text-align: center;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        #roulette-wrapper {
            position: relative;
            width: 300px;
            height: 300px;
        }
        #roulette-wheel {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 8px solid #fff;
            box-shadow: 0 0 20px rgba(0,0,0,0.5);
            background: conic-gradient(#e53935 0deg 36deg, #212121 36deg 72deg, #e53935 72deg 108deg, #212121 108deg 144deg, #e53935 144deg 180deg, #212121 180deg 216deg, #e53935 216deg 252deg, #212121 252deg 288deg, #e53935 288deg 324deg, #212121 324deg 360deg);
            animation: spin-wheel 4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
        }
        #roulette-pointer {
            position: absolute;
            top: -25px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-top: 40px solid #ffc107;
            z-index: 10;
            filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
        }
        @keyframes spin-wheel {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(1800deg); }
        }
/******************************************************/


.menu-block{
    
}
.menu-block select{
    width:100%;
}
.menu-block input{
    height: auto;
}

.menu-block img{
    width: auto;
    max-height: 100px;
}

.menu-block .container{
    margin:0;  
    padding: 0;
}
.menu-block .col, .menu-block .col-auto{
    margin:5px;  
    padding:0;
}

.theme-text-menu{
    font-size: .85rem;
    font-weight: bold;
    color: grey;
    margin: 3px;
}

.fit-menu-image{
    max-width: 100px;
    max-height: 75px;
}

.menu-block .row{
    margin:0 !important; 
}

.recipe-details-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #dee2e6;
}

.recipe-details-container h5 {
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.recipe-details-container p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.recipe-details-container .row > div {
    margin-bottom: 5px;
}

.addCursorPointer {
    cursor: pointer;
    transition: color 0.2s ease;
}

.addCursorPointer:hover {
    color: #007bff;
}

.front-page-buttons-action{
    width:100%; 
}

    