/* header information + font */

/* header information + font */

@font-face {
  font-family: 'Nunito'; /* Name the font */
  src: url("Nunito-Variable.ttf") format("truetype"); 
  font-weight: 100 900;
  font-style: normal;
  font-display: swap; /* Helps with page load performance */
}

/*main logo --> logo.png image*/
.header-logo {
    height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(180, 60, 60, 0.12);
    backdrop-filter: blur(6px);
    animation: fadeUp 0.5s ease forwards;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

body {
    margin:0;
    font-family: "Nunito", sans-serif;
    background-color: #b8e3ef;
    color: #1a1a1a;
    line-height: 1em;
    font-size: 20px;
    padding:0;
    cursor: url("images/cursor1.cur"), auto;
}

p {
    font-family: "Nunito", sans-serif;
    color: #1a1a1a;
    line-height: 1em;
    font-size: 20px;
}

h1 {
    margin-left:10vw;
    margin-right:10vw;
    color: rgb(191, 221, 243);
    max-width: 100vw;
    font-size: 4vw;
    text-align: center;
    line-height: 1em;
}

hh1 {
    color: rgb(191, 221, 243);
    text-align: center;
    padding: 0; 
    margin-bottom: 0; 
}



header {
    position: sticky;
    background-color: rgb(54, 109, 235);
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    top:0;
    z-index: 100;
    line-height:1em;
}


credit {
    /* by le gang trust*/
    color: rgb(177, 214, 229);
    text-align: center;
    line-height: 0.5em;
    font-weight: bold;
}
/* search bar !! */

.search {
    /* the general search bar area i lowk didn't know what i was doing i js followed the w3 tutorial*/
    font-family: "Nunito", sans-serif;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.search input[type=text] {
    /* where you type in the ingredient that you are looking for trust*/
    font-family: "Nunito", sans-serif;
    width: 70vw;
    height:5wv;
    margin-top: 10px;
    margin-left: 3px;
    font-size: 2vw;
    border-radius: 10px;
}

button{
    /* general button settings unless directly changed depending on the button*/
    font-family: "Nunito", sans-serif;
    margin-top: 10px;
    padding: 10px;
    left: 20px;
    font-size: 20px;
    background-color: rgb(29, 43, 167);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight:bold;
}

button:hover{
    background: #0444cf;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    border-radius: 9step0px;    
    cursor: url("images/cursor1.cur"), auto;
}

button:hover:disabled {
    transform: none;
    cursor: not-allowed;
    box-shadow: none;
}

.search button {
    /* when you select a specific ingredient cause my enter key doesn't work */
    width: 5vw;
    font-family: "Nunito", sans-serif;
    background-color: rgb(91, 108, 194);
    color: white;
    border: 1px, solid, white;
    padding-bottom:30px;
    padding-top:5px;
    text-align: center;
    height: 5vw;
    font-size:3vw;
    border-radius:20px;
}
.search button:hover {
    font-family: "Nunito", sans-serif;
    background-color: rgb(91, 108, 194);
    border: 1px, solid, rgb(255, 203, 203);
    cursor: url("images/cursor1.cur"), auto;
}

.warning {
    width: 100%;
    justify-content: center; /* Centers horizontally */
    text-align: center;
    display: flex;
    margin: 0;
    margin-bottom: 0;
    font-size: 5vw;
    color: black;
    line-height: 1.5; /* Adds space for descenders */
}

/* recipe header/paragraph/textidk */
rh1 {
    display: block;
    font-family: "Nunito", sans-serif;
    color: #ffffff;
    /* padding-top: 1em; */
    text-align: center;
    font-size: 3vw;
    font-weight: bold;
    margin-top: 1em;
    line-height: 1em;
}
rbody {
    display: block;
    text-align: left;
    font-family: "Nunito", sans-serif;
    padding-top: 0.5em;
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 20px;
    margin-bottom: 1em;
    color:black;
    line-height:1em;
    font-size: 1.75vw;
}

/* recipe cards, etc. */

#recipe-container{
    /*contains all the recipe card*/
    display:grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    column-gap: 20px;
    /*padding: 2rem */

}

.recipe-card{
    /* contains recipe title, description, image, etc.*/
    display: flex;
    flex-direction: column;
    background-image: url("images/tempbtn.png");

    max-width: 45vw;
    background-size: cover;
    border-radius: 40px;

    padding-bottom: 10px;
    padding-right: 1vw;
    
    margin-bottom: 10px;
    margin-top: 1em;
    margin-left: 15px;

    box-shadow: 10px,10px, 0px #cc0000;
    border: 1px solid white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.recipe-btn{
    /* visit recipe trust' button */
   /* background-image: url("images/tempbtn.png"); */
    background-size: cover;
    display: block;
    padding: 20px;
    margin-top: 1vw;
    width: 20vw;

    background-color: rgb(91, 108, 194);
    color: white;
    
    text-decoration: none;
    border-radius: 40px;

    font-size:3vw;
    align-self: center;
    line-height: 1em;
    
    transition: 0.3s;
    font-weight:bold;
}


.recipe-tag{
    /* on recipe card */
    font-family: "Nunito", sans-serif;
    padding: 10px;
    margin-top: 1vw;
    margin-left: 0;
    margin-right: 0;
    width: auto;

    border-radius: 10px;

    background-color: #5b80d1;
    color: white;

    text-decoration: none;
    border-radius: 20px;
    text-align:center;

    font-weight: bold;

    font-size: 3vw;
}
/* the ones on top of the recipes*/
.recipe-filter{
    font-family: "Nunito", sans-serif;
    display: block;
    padding-top: 15px;
    padding-bottom: 10px;
    padding-left:10px;
    padding-right:10px;

    background-color: #5b80d1;
    color: rgb(247, 242, 242);
    
    text-decoration: none;
    border-radius: 90px;

    font-size:3vw;
    text-align:center;
}

.recipe-filter:hover{
    background-color: #5b80d1;
    border: .5px, white, solid;
    border-radius: 90px;
    transform: scale(1.05);
    cursor: url("images/cursor1.cur"), auto;
}

/* for recipe-tag*/
.taglist{
    align-self: center;
    flex-direction: row;
    gap: 10px;  /* Set to 0 to check if gap itself is the issue */
    display: flex;
    flex-direction: row;

}

/*for recipe-filter*/
.filterlist{
    margin-left:20px;
    margin-right:20px;
    margin-bottom: 20px;
    display: grid;
    gap: 2px;
    align-items: center;
    grid-template-columns: repeat(3, minmax(1vw, auto));
}


.recipe-image {
    width: 80%;
    aspect-ratio: 2;
    object-fit: cover;
    display: flex;
    border-radius: 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.333);
    margin-top: 15px;
    align-self: center;
    object-position: center;
    box-sizing: border-box;
}


.recipe-btn:hover {
    background-color: #5b80d1;
    transform:scale(1.03);
    cursor: url("images/cursor1.cur"), auto;
}

.recipe-sited{
    color:white;
}

.recipe-card:hover{
    transform:scale(1.03);
    cursor: url("images/cursor1.cur"), auto;
}

.hbtn{
    display: inline-block;
    align-self: center;
    text-decoration: none;
    position: fixed;
    top: 180px;
    left: 20px;
    z-index: 1000;
    background: #ffc4c4;
    color: rgb(0, 37, 200);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    float: none;
    margin: 0;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hbtn:hover{
    background: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    border-radius: 90px;
    cursor: url("images/cursor1.cur"), auto;
}

.pbtn{
    display: inline-block;
    align-self: center;
    text-decoration: none;
    position: fixed;
    top: 240px;
    left: 20px;
    z-index: 1000;
    background: #ffc4c4;
    color: rgb(0, 77, 200);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    float: none;
    margin: 0;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pbtn:hover{
    background: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    border-radius: 90px;
    cursor: url("images/cursor1.cur"), auto;
}

/* instructions within the card */

.instruction {
    line-height: 1em;
    margin-top: 2vh;
    margin-left: 15vw;
    margin-right: 15vw;
    margin-bottom: 20px;
    padding: 30px;
    padding-top: 20px;
    max-width: 100%;
    background-color: rgb(253, 241, 229);
    font-weight: bold;
    border-radius: 30px;
    line-height: 1em;
    font-size: 3.2vw;
}

.warning {
    /* make warning span entire grid so it stays centered in recipe container */
    grid-column: 1 / -1;
    width: 90%;
    display: grid;
    margin:0;
    justify-self: center;
    text-align: center;
    font-size: 5vw;
    color: black;
    padding: 1rem;
    font-weight: bold;
}

.step{
    position: relative;
    padding-right: 30px;
    padding-left: 35px;
    display: block;
    grid-template-columns: repeat(1, minmax(10vw, 20vw));
    color: rgb(0, 77, 200);
    margin-top:20px;
    margin-bottom: 20px;
    font-size:2vw;
}

.step::before{
    content: "✩";
    position: absolute; 
    margin-right: 15px;
    color: rgb(0, 77, 200);
    display: block;
    left: 0;
    font-size:1em;
}

.step-under{
    margin-left:40px;
    position: relative;
    padding-left: 30px;
    display: block;
    grid-template-columns: repeat(1, minmax(10vw, 20vw));
    color: rgb(29, 52, 167);
    margin-top:10px;
    margin-bottom: 10px;
    font-size:2vw;
}

.step-under::before{
    content: "✩";
    position: absolute; 
    margin-right: 55px;
    color: rgb(121, 155, 218);
    display: block;
    left: 0;
    font-size:1em;
}
/* timer css */

.timer-btn{
    font-family: "Nunito", sans-serif;
    z-index: 999;
    position: sticky;
    left:0;
    float: left;
    margin-top: 10px;
    padding: 10px;
    margin-left: 3px;
    font-size: 20px;
    background-color: rgb(29, 66, 167);
    color: white;
    border-radius: 90px;    
}

.timer-window {
  font: "Nunito", "sans-serif";
  position: fixed; /* will always stay at the top corner evenwhenu scroll */
  right: 20px;
  bottom: 20px;
  width: 260px;
  
  background: rgba(235, 203, 203, 0.95); /*replace with image maybe*/
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(218, 14, 14, 0.18);
  
  padding: 12px;
  z-index: 999;
  backdrop-filter: blur(6px);
  text-align: center;
  cursor: grab;
  user-select: none; /* prevents text from being highlighted while user is dragging above the timer */
}

h2.timer-header{
  font-size: 1.5em;
  margin-top: 8px;
}

.start-btn {
  background-color: #04AA6D; 
  color: white;
}
.stop-btn {
  background-color: #3662f4;
  color: white;
}

.timer-close-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 16px;
    color: #0018cc;
    cursor: pointer;
    float: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.timer-close-btn:hover {
    color: #00198b;
    transform: scale(1.2);
}

.timer-window {
    cursor: grab;
}

.timer-window:active {
    cursor: grabbing;
}

.timer-display {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #00258b;
    margin: 4px 0;
}

.timer-display.low {
    color: #0033ff;
}

.timer-controls {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.timer-select {
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    background: rgba(255, 220, 150, 0.8);
    border: 1px solid rgba(0, 75, 204, 0.3);
    border-radius: 20px;
    padding: 4px 8px;
    color: #001e8b;
    margin-bottom: 8px;
    cursor: pointer;
    width: 100%;
}


.hidden {
    display: none;
}

#auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.active-tab {
    font-weight: bold;
    border-bottom: 2px solid black;
}

.panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 18vw;
    background-color: #7592cd;
    padding: 1rem;
    padding-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.panel p {
    font-size: 1.5rem;
    text-align: center;
    margin: 0;
}

#panel p {
    margin-bottom: 2rem; /* space under ingredients title */
}
.panel ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.panel li {
    margin-bottom: 0.5rem;
    font-size: 1.2rem; /* make ingredient items larger */
}

.panel input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* crossed-out ingredient */
.panel li.crossed label {
    text-decoration: line-through;
    color: black;
}

/* Nutrition panel specific styling */
#panel2 {
    background-color: white;
    border: 1px solid black;
    padding: 1rem;
    padding-top: 2rem;
    box-sizing: border-box;
    width: 230px;
    font-size: 1.5rem;
    position: fixed;
    top: 300px;
    left: 5px;
    display: none;
}

#panel2 p {
    font-size: 1.8rem;
    margin: 0;
    text-align: center;
}

#panel2 ol {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0; /*space from title */
}

#panel2 ol li {
    display: flex;
    justify-content: space-between;  /* pushes text left & right */
    border-bottom: 1px solid black;
    padding: 0.25rem 0;
}

/* remove bottom border from last item so it doesn't stick out */
#panel2 ol li:last-child {
    border-bottom: none;
}


/* Small nutrition button */

#nutrition-btn {
    position: fixed;
    top: 40px;
    left: 20px;
    z-index: 1000;
    background: #162b70;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    float: none;
    margin: 0;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#nutrition-btn:hover {
    background: #0433cf;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    cursor: url("images/cursor1.cur"), auto;
}   


#profile-btn {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 1000;
    background: #162970;
    color: white;
    border: none;
    border-radius: 50%; /* circle */
    width: 100px;      
    height: 100px;
    padding: 5px 5px;
    font-family: "Nunito", sans-serif;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    float: none;
    margin: 0;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#profile-btn:hover {
    background: #0433cf;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    cursor: url("images/cursor1.cur"), auto;
}

#profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

#finish{
    font: "Nunito", "sans-serif";
    width: 10vw;
    height: 4vw;
    bottom: 100px;
    font-size: 2rem;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    margin-top: 2vh;
    margin: 2vh auto;   /*centers it */
    display:block;
    margin-bottom: 2vh;
    padding-bottom: 20px;
    background: linear-gradient(270deg, #ff3939, #ffcc00, #37ff52, #35ddff, #b95dff, #ff6b6b); /*rainbowww*/
    background-size: 300% 300%;
    animation: rainbow 4s ease infinite;
    justify-content: center;
    text-align: center;
}

/*ehe rainbobw buttonnn*/
@keyframes rainbow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.auth-container {
    max-width: 400px;
    margin: 60px auto;
    background: rgb(191, 221, 243);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    text-align: center;
}

#auth-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

#auth-tabs button {
    float: none;
    flex: 1;
    background: transparent;
    border: 2px solid #0025cc;
    color: #0007cc;
    border-radius: 50px;
    padding: 8px 16px;
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

#auth-tabs button.active-tab {
    background: #0000cc;
    color: white;
    font-weight: bold;
    border-bottom: 2px solid #0025cc;
}

#auth-tabs button:hover {
    background: #0025cc;
    color: white;
    cursor: url("images/cursor1.cur"), auto;
}

.auth-heading {
    color: #0025cc;
    margin-bottom: 16px;
    font-size: 22px;
}

.auth-input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 50px;
    border: 2px solid #9aa7e0;
    background: white;
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}
/* does ts worik */

.auth-input:focus {
    border-color: #0052cc;
}

.auth-btn {
    float: none;
    width: 100%;
    padding: 10px;
    background: #003acc;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 4px;
}

.auth-btn:hover {
    background: #003099;
}

.auth-message {
    margin-top: 12px;
    font-size: 14px;
    color: #0036cc;
    font-weight: bold;
}

.show-password {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #002a8b;
    margin-bottom: 10px;
    cursor: pointer;
}

.show-password input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #0025cc;
}

.review-section {
    margin: 2rem 5rem;
}

.review-section button {
    transition: all 0.08s;
}

.review-section button:hover {
    filter: brightness(90%);
    cursor: url("images/cursor1.cur"), auto;
}

.review-section button:active {
    filter: brightness(70%);
}

.review-section div {
    transition: all 0.3s ease;
}

.review-summary {
    display: flex;
    width: 100%;
    height: 10rem;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.overall-review-container {
    display: flex;
    width: 15rem;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overall-review-container h2 {
    margin-top: 1.7rem;
    margin-bottom: 2.0rem;
    padding: 0;
    font-weight: bold;
    font-size: 3.8rem;
}

.overall-review-container h3 {
    margin: 1rem;
    font-weight: 600;
    font-size: 1.8rem;
}

.overall-ratings i {
    font-size: 1.3rem;
    color: #001e59;
}

.rating-bars-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.rating-bar {
    display: flex;
    width: 100%;
    height: 2rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.rating-bar h4 {
    width: 2.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: left;
}

.rating-bar h5 {
    margin-left: 0.5rem;
    width: 7rem;
    font-weight: 600;
    font-size: 1.14rem;
    text-align: left;
}

.rating-bar div {
    border-radius: 0.5rem;
    box-shadow: inset 0 0 0.5rem rgba(0,0,0,0.2);

}

.rating-bar-full {
    flex: 1;
    height: 0.6rem;
    background-color: rgb(197, 170, 170);
    overflow: hidden;
}

.rating-bar-filled {
    height: 100%;
    width: 0%;
    background-color: #002459;
    /* transition: width 0.5s ease; */
}

.review-section-divider {
    width: 100%;
    height: 0.2rem;
    border: none;
    margin: 0rem -0.5rem;
    background: rgb(54, 77, 134);
    box-shadow: 0 0.12rem 0.3rem 0.01rem rgba(124, 40, 40, 0.5);
}


.review-box {
    display: block;
    margin-top: 0.7rem;
    margin-bottom: 2rem;
}

.review-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.profile-info {
    display: flex;
    align-items: center;
}

.profile-info h2 {
    font-weight: 700;
    font-size: 2rem;
}

.profile-info h3 {
    margin-left: 1.25rem;
    transform: translateY(0.0625rem);
    font-weight: 600;
    font-size: 1.25rem;
}

.ratings {
    color: #001659;
}

.review-content {
    width: 100%;
}

.review-content p {
    margin: 0.75rem 0rem;
    font-weight: normal;
    font-size: 22;
}

.review-images {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2rem;
    gap: 1rem;
}

.review-image-btn {
    width: 5.3125rem;
    aspect-ratio: 1;
    border-radius: 1rem;
    border: 0.125rem solid white;
    overflow: hidden;
    padding: 0rem;
    margin: 0rem;
    cursor: pointer;
}

.review-image-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.popup-overlay {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

.popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.img-popup {
    display: flex;
    background-color: white;
    width: 50rem;
    aspect-ratio: 7/5;
    flex-direction: column;
    overflow: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    border: 0.15rem solid rgb(187, 107, 107);
    border-radius: 0.5rem;
    pointer-events: none;
    z-index: 1000;
}

.img-popup.show {
    transform: translate(-50%, -50%) scale(1.0);
    opacity: 1;
    pointer-events: auto;
}

.popup-header {
    display: flex;
    width: 100%;
    height: 2.8rem;
    justify-content: flex-end;
    align-items: center;
    background-color: #88a2d0;
}

.close-img-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    aspect-ratio: 4/3;
    border: 0rem;
    padding: 0rem;
    margin: 0rem;
    cursor: pointer;
    background-color: rgb(101, 151, 207);
}

.close-img-btn i {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #1a1a1a;
}

.popup-image {
    flex: 1;
    display: flex;
    min-height: 0;
    justify-content: center;
    align-items: center;
    background-color: rgb(239, 238, 238);
}

.popup-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.review-divider {
    border-image: repeating-linear-gradient(to right,
            white 0px,
            white 2px,
            transparent 2px,
            transparent 10px) 1;
    margin: 0rem -0.5rem;
}

.pantry-btn{
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 1000;
    background: #162970;
    color: white;
    border: none;
    border-radius: 50%; /* circle */
    width: 100px;      
    height: 100px;
    padding: 5px 5px;
    font-family: "Nunito", sans-serif;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    float: none;
    margin: 0;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
