@charset "utf-8";
/* CSS Document */
* {
    box-sizing: border-box;
}

.interactive-line .button-row {
  display: none;
}

.interactive-line:hover .button-row,
.interactive-line.active .button-row {
  display: block;
}

.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

div#mediaQueryMessage {
    display: none;
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

section {
    padding: 10px;
}

a:focus {
    outline: 2px dashed #1a73e8;
}

section.leftCol {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start; 
    width: 200px; 

}

section.leftCol a {
    width: 100%; 
    display: flex;
    justify-content: center; 
}

section.leftCol img {
    max-width: 100%; 
    height: auto;
}

.section.centerCol {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#site-image-container {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  #site-image {
    max-width: 800px;
    width: 90%;
    height: auto;
  }

.enter-page section.centerCol {
    max-width: 1000px; 
    margin-right: 10px;
}

.enter-page .recipe-entry-form {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    background: none;
    border: none;
}

.enter-page .form-half {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.enter-page .form-half input,
.enter-page .form-half select,
.enter-page #foodCategoryDropdown select {
    padding: 5px 8px;
    font-size: 14px;
    line-height: 1.2;
    width: 100%;
}

.enter-page .form-row button.recipe-entry {
    width: 100%;
    max-width: 900px;
    font-size: 18px;
    padding: 12px;
}

.enter-page .form-row {
    margin-bottom: 8px;
}

.enter-page .form-half label {
    margin-bottom: 4px;
    font-size: 14px;
}

.enter-page select#foodCategory {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: "Rockwell", monospace;
    box-sizing: border-box;
}

.enter-page #foodCategoryDropdown {
    width: 100%;
    max-width: 100%;
}

.enter-page #foodCategoryDropdown select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: "Rockwell", monospace;
    box-sizing: border-box;
}

.enter-page select#dishType {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: "Rockwell", monospace;
    box-sizing: border-box;
}

.navigation ul {
    list-style-type: none;
    width: 200px; 
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

.navigation li {
    width: 100%; 
    padding: 8px;
    margin-bottom: 4px;
    text-align: center; 
}

.navigation a {
    text-decoration: none;
}

#siteName {
    font-weight: bold;
    font-size: 84px;
    text-align: center;
    
}

#tagline {
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; 
}

.login-form input[type="email"], .login-form input[type="password"], .login-form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    box-sizing: border-box;
}

.signup-wrapper .form-row.double {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 600px;
}

.signup-wrapper .form-half {
  flex: 1;
  min-width: 45%;
  box-sizing: border-box;
}

.signup-wrapper input::placeholder {
  color: #a58a6a;
  font-family: "Rockwell", "Courier Bold", monospace;
  font-style: italic;
  opacity: 1; /* Optional: ensure it doesn't look faded */
}

.login-button-container { 
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    width: 100%;
    margin-top: 10px; 

    button {
        margin: 0 10px; 
    }
}

.search-form {
    display: flex;  
    align-items: center; 
    justify-content: center; 
    margin-top: 20px;
}

.search-form form {
    width: 100%;
    max-width: 900px; 
    margin: 0 auto;
}

.search-form input[type="text"],
#searchInput {
    width: 100%;
    max-width: 900px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.search-results {
    margin-top: 20px;
    max-height: 400px; 
    overflow-y: auto; 
    border: 1px solid #ccc; 
    padding: 10px;
}

.search-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0; 
}

.search-results li:nth-child(odd) {
    background-color: #ffffff; 
}

.search-results li:nth-child(even) {
    background-color: rgba(215, 166, 120, 0.2); 
}

.search-results h3 {
    margin: 0;
    flex-grow: 1;
}

.search-results button {
    margin-left: 10px;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}


.social-login button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #f1f1f1; 
}

.social-login button:first-child {
    background: #3b5998; /* Facebook color */
    color: white;
}

.social-login button:last-child {
    background: #db4437; /* Google color */
    color: white;
}

.slideshow-mockup {
    width: 100%;  
    height: 450px;
    background-color: #f4f4f4; 
    color: #333; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    margin: 20px 0; 
    border: 1px dashed #cccccc; 
}

.section.centerCol {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.blog-highlights {
    width: 200px;  
    margin-top: 20px;   
    padding: 10px;  
    box-sizing: border-box;  
}

.blog-highlights h3 {
    text-align: center;  
    margin-bottom: 15px;  
}

.blog-item {
    margin-bottom: 10px;  
}

.blog-item h4 {
    margin: 0 0 5px 0;  
}

.blog-item p {
    font-size: 0.9em;  
    margin: 0 0 10px 0; 
}

.blog-item a {
    text-decoration: none;   
    font-weight: bold;  
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-gap: 10px; 
    padding: 20px; 
    margin-bottom: 4px;
}

.button-grid button {
    border: none;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.enter-page .button-grid button {
  border: 2pt solid #d9a760;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
  background-color: #fffaf0;
  color: #81591f;
  font-family: "Rockwell", monospace;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.enter-page .button-grid button:hover {
  background-color: #f2e0c7;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.45);
}

.button-grid.us-grid button {
  background-color: #fef3d4;
  color: #775100;
}
.button-grid.us-grid button:hover {
  background-color: #fde3a7;
}

.button-grid.metric-grid button {
  background-color: #d4eefc;
  color: #003e63;
}
.button-grid.metric-grid button:hover {
  background-color: #b8e0f4;
}

.button-grid.misc1-grid button {
  background-color: #f0d4ef;
  color: #641f52;
}
.button-grid.misc1-grid button:hover {
  background-color: #e8b8e5;
}

.button-grid.misc2-grid button {
  background-color: #def6dc;
  color: #1d6337;
}
.button-grid.misc2-grid button:hover {
  background-color: #bfeac3;
}


.modifier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 4px;
    margin-bottom: 8px;
  }
  
.modifier-option {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
.custom-modifier input[type="text"] {
    flex-grow: 1;
    height: 20px;   
    padding: 2px 4px;
    font-size: 13px;
  }

.form-row {
    display: flex;
    flex-direction: column;
    gap: 4px; /* was 10+ */
    margin-bottom: 6px; 
    width: 100%;
    max-width: 600px;
  }

  .remember-reset-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 10px 0 0 0;
}

.remember-me label {
  margin-left: 4px;
}



.forgot-password-panel {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fffef8;
  border: 1px solid #d9a760;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.forgot-password-panel h3 {
  font-family: "Rockwell", monospace;
  margin-bottom: 10px;
  text-align: center;
}

.forgot-password-panel p {
  font-family: "Rockwell", monospace;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

.forgot-password-panel form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.forgot-password-panel input[type="text"],
.forgot-password-panel input[type="password"] {
  width: 100%;
  padding: 10px;
  font-family: "Rockwell", monospace;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.forgot-password-panel button.recipe-entry {
  width: 100%;
  font-size: 16px;
}

  
  
  .form-half label {
    font-size: 14px;
    margin-bottom: 2px;
  }
  
.ingredient-form {
    margin-top: 0px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.ingredient-form label {
    margin-bottom: 5px; 
}

.ingredient-form input[type="text"] {
    width: 100%; 
    padding: 8px;
    margin-bottom: 10px; 
    box-sizing: border-box; 
}

.ingredient-form .checkbox {
    margin-bottom: 10px; 
}

.ingredient-form button {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

/*.entered-ingredients-list {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: #fffef8;
    font-family: "Courier New", Courier, monospace;
    font-size: 16px;
    line-height: 1.2;
    font-weight: bold;
} */


/*.entered-ingredients-list li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}*/

/*#entered-ingredients {
    padding: 10px;
}

#entered-ingredients ul {
    padding: 0;
    margin: 0;
}*/
#entered-instructions ul {
    padding: 0;
    margin: 0;
}

/*#entered-ingredients li {
    margin: 0;
    padding: 4px 20px;
    border-bottom: 1px dashed #ddd;
    list-style: none;
}*/

.ingredient-entry {
    flex-direction: row;
    gap: 8px;
}

.ingredient-quantity {
    flex: 0 0 140px;
    text-align: left;
}

/*.ingredient-line {
    flex: 1 1 auto;
    word-break: break-word;
}*/

.inline-buttons {
    flex: 0 0 auto;
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}


#entered-ingredients li:hover {
    background-color: #fff3dc;
    transition: background-color 0.2s ease;
}

.inline-edit-btn {
    background-color: #c3a97f;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    font-family: "Rockwell", monospace;
    cursor: pointer;
  }
  
.inline-edit-btn:hover {
    background-color: #aa7529;
  }

.instructions-form {
    margin-bottom: 10px;
    width: 100%;
}

.instructions-form textarea {
    width: 100%;
    font-family: "Rockwell", monospace;
    font-size: 14px;
    padding: 4px 8px;
    border: 1px solid #c3a97f;
    background-color: #fffaf0;
    resize: vertical;
    overflow-y: auto;
    height: auto;
    min-height: 28px;
    max-height: 6em; 
    box-sizing: border-box;
    margin-bottom: 0;
    line-height: 1.2;
}

/*.instruction-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: -2px;
}*/

.instruction-btn {
    min-width: 180px;
}

.instruction-btn:hover {
    background-color: #f2e0c7;
}

.ad-display {
    width: 100%;
    height: 600px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.rightCol .ad-display {
    margin-top: 300px; 
}

.featured-recipes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    margin-right: 10px;
}

.recipe {
    flex: 0 48%; 
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px; 
}

.recipe img {
    width: 100%; 
    height: auto;
}

.recipe h3, .recipe p, .recipe a {
    margin: 10px 0; 
}

.recipe a {
    text-decoration: none;
    font-weight: bold;
    display: block; 
    outline: none; 
}

.site-footer {
    width: 100%;
    text-align: center;
    padding: 20px 10px;
    box-sizing: border-box;
    max-width: 1100px;
    margin: 0 auto; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

.site-footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0; 
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
}

.site-footer nav ul li {
    padding: 0 15px;
}

.site-footer nav ul li a {
    color: #634535;
    text-decoration: none;
    font-weight: bold;
}

@media all and (min-width: 800px) {
    section.leftCol {
        width: 200px;       /* 🔧 enforce fixed width */
        flex: 0 0 200px;    /* 🔧 lock it in layout */
    }

    section.rightCol {
        max-width: 150px;   /* still fine here */
    }

    section.centerCol {
        flex: 1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    #siteName {
        display: none;  
    }
}

@media (max-width: 720px) {
    .rightCol .ad-display {
        margin-top: 0; 
    }
}

@media (max-width: 480px) {
    .recipe {
        flex: 0 100%; 
    }

    .site-footer nav ul {
        flex-direction: column;
    }

    .site-footer nav ul li {
        padding: 5px 0;
    }
}

.image-wrapper {
    position: relative;
    width: 600px;
    height: 600px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    width: 100%;
    color: white;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    font-family: "Rockwell", sans-serif;
    font-size: 18px;
    text-align: center;
    box-sizing: border-box;
}

.top-overlay {
    top: 0;
    border-bottom: 1px solid #333;
}

.bottom-overlay {
    bottom: 0;
    border-top: 1px solid #333;
}

.recipe-detail {
    border: 1px solid #d9a760;
    background-color: #fefcf8;
    padding: 20px;
    margin-top: 20px;
    font-family: "Rockwell", "Courier Bold", monospace;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.recipe-detail .close-box {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    background-color: #fdf6ee;
    border: 1px solid #aaa;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.recipe-detail .close-box:hover {
    background-color: #e8c99e;
}

.recipe-detail {
  position: relative;
}

.recipe-header h2 {
    margin-top: 0;
    color: #aa7529;
}

.recipe-category {
    font-style: italic;
    color: #634535;
}

.recipe-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.recipe-image-container img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border: 2px solid #d9a760;
    border-radius: 10px;
}

.recipe-description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #81591f;
}

.help-test {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    color: #81591f;
    font-weight: bold;
    font-family: "Rockwell", "Courier Bold", monospace;
}

.recipe-ingredients ul,
.recipe-instructions ul {
    padding-left: 20px;
    color: #634535;
}

.recipe-ingredients li
 {
   line-height: 1;
}

.closeout-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.close-button {
    background-color: #e8c99e;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-family: "Rockwell", monospace;
}

.close-button:hover {
    background-color: #edd5b2;
}

.recipe-ingredients ul {
    font-family: monospace;
    white-space: pre-wrap;
    font-size: 18px; /* or try 20px for more punch */
    line-height: .5;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .recipe-instructions ul {
    font-family: "Rockwell", "Courier Bold", monospace;
    white-space: pre-wrap;
    font-size: 18px; /* or try 20px for more punch */
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.5;
    display: table-row;
  }

  .recipe-instructions-heading {
    font-family: "Rockwell", "Courier Bold", monospace;
    font-weight: bold;
    white-space: pre-wrap;
    font-size: 20px; /* or try 20px for more punch */
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.5;
    text-indent: 20px;
  }

  .recipe-instruction-line {
  text-indent: -2em;
  padding-left: 2em;
  margin: 0.5em 0;
  white-space: pre-wrap;
  line-height: 1.5;
}

.step-label {
  font-weight: bold;
}

  .account-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.account-actions button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    font-family: "Rockwell", monospace;
    background-color: #e8c99e;
    border: none;
}

#account-action-panel {
    margin-top: 20px;
    padding: 15px;
    background-color: #fdf6ee;
    border: 1px solid #d9a760;
    font-family: "Rockwell", monospace;
}

.account-info-buttons {
  display: flex;
  justify-content: space-evenly;
  margin-top: 20px;
  gap: 10px;
}


.centerCol > .login-form,
.centerCol > #signup-panel {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.centerCol {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signup-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fffef8;
    border: 1px solid #d9a760;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.signup-wrapper .form-group {
    margin-bottom: 12px;
}

.signup-wrapper input[type="text"],
.signup-wrapper input[type="email"], 
.signup-wrapper input[type="password"] {
    width: 100%;
    padding: 12px 10px;
    font-size: 16px;
    font-family: "Rockwell", monospace;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}


.help-links {
    margin-top: 20px;
    text-align: center;
}

.help-links a {
    color: #0066cc;
    text-decoration: none;
    margin: 0 10px;
}

.help-links a:hover {
    text-decoration: underline;
}

.password-requirements {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.password-requirements ul {
    padding-left: 20px;
}

.password-requirements li {
    margin-bottom: 5px;
}

.password-requirements li.met {
    color: #28a745;
}

.password-requirements li.not-met {
    color: #dc3545;
}

.password-strength-meter {
    height: 5px;
    background-color: #e9ecef;
    margin-top: 5px;
    border-radius: 3px;
}

.strength-meter {
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 0.3s;
}

.strength-0 { width: 0; }
.strength-1 { width: 33%; background-color: #dc3545; }
.strength-2 { width: 66%; background-color: #ffc107; }
.strength-3 { width: 100%; background-color: #28a745; }


.recipe-entry {
    background-color: #e8c99e;
    border: none;
    padding: 10px 20px;
    font-family: "Rockwell", monospace;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.recipe-entry:hover {
    background-color: #edd5b2;
}

.recipe-entry-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: transparent;
    border: none;
    box-shadow: none;
  }

.centerCol {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#account-action-panel,
#signup-panel {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    max-width: 100%;
    padding: 12px 10px;
    font-size: 16px;
    font-family: "Rockwell", monospace;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.ui-message {
    font-family: "Rockwell", monospace;
    font-size: 16px;
    padding: 12px 20px;
    margin-top: 15px;
    border-radius: 6px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.ui-message.success {
    background-color: #e8f8ea;
    border: 1px solid #81c784;
    color: #2e7d32;
}

.ui-message.error {
    background-color: #fff4f4;
    border: 1px solid #e57373;
    color: #c62828;
}

.ui-message.info {
    background-color: #fdf6ee;
    border: 1px solid #d9a760;
    color: #6b4e2d;
}

#logout.recipe-entry {
    background-color: #f6d6b5;
    color: #5c3b1e;
}

#logout.recipe-entry:hover {
    background-color: #f8e2c8;
}

#logout-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
}

#logout {
    padding: 10px 20px;
    font-family: "Rockwell", monospace;
}

#search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}
  
  #searchInput {
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 0px; /* tightened spacing */
    border: 1px solid #ccc;
  }
  
  .button-row {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  #search-form,
  .search-results {
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
  }

  .search-form {
    width: 75%;
    max-width: 900px;
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-form form {
    width: 100%;
}

#searchInput {
    width: 100%;
    max-width: 700px;
    padding: 10px;
    font-size: 1rem;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 700px;
}

@media all and (min-width: 800px) {
    section.leftCol {
        width: 300px;
        flex: 0 0 200px;
    }

    section.rightCol {
        max-width: 200px;
        flex: 0 0 200px;
    }

    section.centerCol {
        flex: 1;
        max-width: 100%;
    }
}

.share-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  
  .share-button-row .recipe-entry {
    flex: 0 0 auto;
    min-width: auto;
    width: auto;
  }

  #facebook-share {
    background-color: #1877F2; /* Facebook blue */
    color: white;
    border: none;
  }
  
  #twitter-share {
    background-color: #1DA1F2; /* Twitter/X blue */
    color: white;
    border: none;
  }
  
  #facebook-share:hover,
  #twitter-share:hover {
    opacity: 0.9;
    cursor: pointer;
  }

  #enterSiteName {
    font-size: 36px;              
    margin: 0;
    padding: 10px 0 0 0;         
    text-align: center;
    font-weight: bold;
}

.leftCol img {
    max-width: 120px; 
    height: auto;
}

.enter-page .form-row {
    margin-bottom: 4px;
    gap: 2px;
    width: 60%;          
  }

.enter-page .form-half select,
.enter-page #foodCategoryDropdown select {
    width: 100% !important;
}

.enter-page .form-row.double {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.enter-page .form-row.double .form-half {
    flex: 1;
    min-width: 0;
}

.enter-page .form-half select,
.enter-page #foodCategoryDropdown select {
    width: 100% !important;
    display: block;
}

.enter-page .form-row.double {
    width: 100%;
    max-width: 900px;
}

.enter-page .form-row {
    margin-bottom: 2px;
    gap: 0px;
}

.enter-page .form-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.enter-page .form-half label {
    font-size: 16px;
    margin-bottom: 1px;
    line-height: 1.1;
}

/* Special rule for the row with description and servings */
.enter-page .form-row.double.description-row {
  display: flex;
  gap: 20px;
}

.enter-page .form-row.double.description-row .form-half:first-child {
  flex: 3; /* Description takes 75% */
}

.enter-page .form-row.double.description-row .form-half:last-child {
  flex: 1; /* Servings takes 25% */
}

.enter-page .form-half input,
.enter-page .form-half select,
.enter-page #foodCategoryDropdown select {
    padding: 4px 6px;
    font-size: 14px;
    line-height: 1.1;
    height: auto;
    min-height: 28px;
    border: 1px solid #ccc;
}

.enter-page .form-row button.recipe-entry {
    margin-top: 4px;
    padding: 6px 6px;
    font-size: 15px;
}

.enter-page select#dishType {
    width: 100%;
    padding: 4px 6px;
    font-size: 14px;
    line-height: 1.1;
    height: auto;
    min-height: 28px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/*#entered-ingredients {
    padding: 0;
    margin: 0;
    list-style: none;
  } */

.parsed-ingredients-list {
    width: 100%;
    max-width: 900px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: #fffef8;
    padding: 10px;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 1.2;
    margin: 10px auto;
    font-weight: bold;
    white-space: pre-wrap;
  }
  

  .parsed-ingredients-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .parsed-ingredients-list li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2px 0px;
    border-bottom: 1px dashed #ddd;
  }
  
  .parsed-ingredients-list .ingredient-name {
    flex: 1;
    text-align: left;
    font-size: 14pt;
  }
  
  .parsed-ingredients-list .ingredient-actions {
    flex-shrink: 0;
    margin-left: 10px;
  }

  .parsed-ingredients-list li:hover {
    background-color: #f5e6c0; /* light tan for hover */
    cursor: pointer;
  }
  
  .parsed-ingredients-list li.already-added {
    background-color: #ccf5cc; /* light green for clicked/selected */
  }


li.already-added {
    background-color: #cbe3c0 !important; /* light green */
  }

  .nav-home-style {
    background-color: #b3866f;
  }
  
  .nav-home-style:hover {
    background-color: #c19d8a;
  }

  .ingredient-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.ingredient-action-row label {
    margin-right: 10px;
    font-family: "Rockwell", monospace;
    font-size: 14px;
    color: #81591f;
}

.ingredient-action-row button {
    flex-shrink: 0;
}

.ingredient-preview-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 6px 0;
}

.ingredient-preview-box {
    font-family: "Rockwell", monospace;
    font-size: 14px;
    color: #634535;
    background-color: #fff3dc;
    border: 1px solid #c3a97f;
    padding: 4px 8px;
    flex-grow: 1;
    min-height: 18px;
    text-align: center;
}

.preview-cancel-button {
    font-family: "Rockwell", monospace;
    font-size: 13px;
    padding: 4px 10px;
    background-color: #f5e2c4;
    border: 1px solid #c3a97f;
    color: #634535;
    cursor: pointer;
}

.preview-cancel-button:hover {
    background-color: #ecd2a4;
}

.ingredient-control-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;                
    margin-top: 4px;       
}

.ingredient-preview-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ingredient-preview-box {
    font-family: "Rockwell", monospace;
    font-size: 14px;
    color: #634535;
    background-color: #fff3dc;
    border: 1px solid #c3a97f;
    padding: 3px 6px;         
    flex-grow: 1;
    min-height: 18px;
    text-align: center;
}

.preview-cancel-button {
    font-family: "Rockwell", monospace;
    font-size: 13px;
    padding: 3px 8px;        
    background-color: #f5e2c4;
    border: 1px solid #c3a97f;
    color: #634535;
    cursor: pointer;
}

.preview-cancel-button:hover {
    background-color: #ecd2a4;
}

.ingredient-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ingredient-action-row label {
    margin-right: 10px;
    font-size: 13px;
    color: #81591f;
}

#button-grid-placeholder {
    margin-bottom: 4px;  
    padding-bottom: 0;
  }

/*.enter-page .instruction-buttons .recipe-entry {
    padding: 6px 10px;
    font-size: 15px;
    height: auto;       
    line-height: 1.2;   
}*/

.hidden {
    display: none !important;
  }

.inline-delete-btn {
    margin-left: 8px;
    margin-right: 8px;
    background-color: #c3a97f;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    font-family: "Rockwell", monospace;
    cursor: pointer;
}
  
.inline-delete-btn:hover {
    background-color: #c62828;
}

/*#entered-instructions {
    white-space: pre-wrap;       
    word-wrap: break-word;      
    overflow-x: hidden;          
    max-width: 100%;            
}*/

#entered-instructions ol {
    padding-left: .3em;
    margin: 0;
    font-family: "Rockwell", monospace;
    font-size: 14px;
    color: #634535;
    line-height: 1.4;
}

/*#entered-instructions li {
    white-space: pre-wrap;
    word-break: break-word;
    padding: 6px;
}*/

#ingredientSearchInput, #ingredientHeaderInput,
#instructionHeaderInput {
    height: 32px;
    padding: 4px 10px;
    font-size: 13px;
    font-family: "Rockwell", monospace;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    box-sizing: border-box;
}

#ingredientSearchBtn, #addIngredientHeaderBtn, 
#clearIngredientHeaderBtn,
#clearInstructionHeaderBtn {
    width: 200px;
    height: 32px;
    padding: 4px 10px;
    margin-top: 0px;
    margin-left: 4px;
    font-size: 14px;
    font-family: "Rockwell", monospace;
    color: #81591f;
    background-color: #e8c99e;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    box-sizing: border-box;
}

.ingredient-search-results {
    list-style: none;
    padding: 0;
    margin: 0 auto 10px auto;
    max-width: 900px;
    font-family: monospace;
    font-size: 14px;
}

.ingredient-search-results {
    width: 100%;
    max-width: 900px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: #fffef8;
    padding: 10px;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 1.2;
    margin: 10px auto;
    font-weight: bold;
    white-space: pre;
    list-style: none;
  }

  .ingredient-search-results li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    border-bottom: 1px dashed #ddd;
    cursor: pointer;
  }

.ingredient-search-results li:hover {
    background-color: #fff3dc;
}

#ingredientSearchForm {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    margin: 0 auto 6px auto;
    
}

.help-space {
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.help-space img {
    border: 3pt solid #d9a760; /* Light brown accent */
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, .50); /* Soft shadow */
    margin-bottom: 12px;
    max-width: 100%;
    height: auto;
}
.help-space p {
    font-family: "Rockwell", monospace;
    font-size: 16px;
    color: #634535;
    margin: 0 auto;
}

.help-divider {
    border: none;
    height: 2px;
    background-color: #d9a760;
    margin: 30px auto;
    width: 80%;
}

.recipe-save-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 10px;
  }
  
  #sortToggle {
    display: flex !important; 
    flex-direction: row;
    gap: 8px; 
    line-height: 1.1;
    margin-left: 20px;
  } 
  
  #sortToggle label {
    display: flex;
    align-items: center;
    font-family: "Rockwell", monospace;
    font-size: 16px;
    color: #020202;
  }
  
  #sortToggle input[type="radio"] {
    margin-right: 6px;
    accent-color: #aa7529;
  }

  .recipe-entry-form .recipe-save-row {
    flex-direction: row !important;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    color: #81591f;
  }

  #saveRecipeInfoBtn {
    width: auto;
    white-space: nowrap;
  }

#unit-preview {
    font-size: 20px;       /* Or 32px if you want it real bold */
    font-weight: bold;     /* Optional: make it stand out */
}

.ingredient-subtype:hover {
  background-color: #e0d0b9;
}

 .ingredient-subtype {
    font-family: "Courier New", Courier, monospace;
    font-size: 16px;
    font-weight: bold;
    margin-left: 4px;
    padding: 2px 6px;
    border: 1px solid #080808;
    border-radius: 4px;
    background-color: #fffaf0;
    color: #020202;
    cursor: pointer;
}

.ingredient-subtype.selected-subtype {
    background-color: #ccf5cc;
}

.collection-select-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.parsed-ingredients-list .ingredient-subtype {
  display: none; /* Start hidden */
}

.parsed-ingredients-list li:hover .ingredient-subtype,
.parsed-ingredients-list li.show-subtypes .ingredient-subtype {
  display: inline-block; /* Show on hover or when class applied */
}

.button-grid.disabled {
  opacity: 0.3;
  pointer-events: none;
  filter: grayscale(100%);
  transition: opacity 0.3s ease;
} 

.modifier-grid-wrapper.disabled {
  opacity: 0.3;
  pointer-events: none;
  filter: grayscale(100%);
  transition: opacity 0.3s ease;
}

.button-grid-wrapper {
  position: relative;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.6);
  color: #81591f;
  font-family: "Rockwell", serif;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  text-align: center;
  padding: 10px;
  z-index: 5;
}

.inline-up-btn, .inline-down-btn {
    background-color: #c3a97f;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 1px 8px;
    border: none;
    border-radius: 4px;
    font-family: "Rockwell", monospace;
    cursor: pointer;
}

#entered-ingredients li:hover .inline-up-btn {
    display: flex;
    background-color: #aa7529;
}

#entered-ingredients li:hover .inline-down-btn {
    display: flex;
    background-color: #aa7529;
}

#entered-instructions li:hover .inline-buttons {
  display: flex;
  justify-content: flex-end;
}

#entered-instructions .inline-buttons button {
  margin-left: 6px;
}

#entered-instructions .inline-buttons {
  margin-left: auto;
}

.header-entry-row {
  display: flex;
  gap: 6px;
  margin: 6px 0 10px 0;
  align-items: center;
  justify-content: center;
}

#ingredientHeaderInput,
#instructionHeaderInput {
  width: 320px;
  height: 32px;
  padding: 4px 10px;
  font-size: 14px;
  font-family: "Rockwell", monospace;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Ingredient header styling 
.ingredient-header {
  background-color: #644e3b;
  color: #fff;
  font-family: "Rockwell", monospace;
  font-size: 18px;
  font-weight: bold;
  font-size: 1rem;
  padding: 8px;
  border-radius: 6px;
  margin: 4px 0;
  line-height: 1.5;
}*/

/* Ingredient header hover & active highlight */
.ingredient-header:hover,
.ingredient-header.selected {
  background-color: #806550; /* slightly lighter brown */
}

/* Instruction header uses same visual style */
/*.instruction-header {
  background-color: #644e3b;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  font-size: 1rem;
  padding: 8px;
  border-radius: 6px;
  margin: 4px 0;
}*/

/* Instruction header hover & active highlight */
.instruction-header:hover,
.instruction-header.selected {
  background-color: #806550;
}

#entered-ingredients li.ingredient-header:hover {
  background-color: #806550 !important;
}

#toast-message {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  font-family: 'Rockwell', serif;
}

#custom-alert-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#custom-alert {
  background-color: #fffdf7;
  border: 2px solid #bb9d57;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  font-family: 'Rockwell', serif;
}

#custom-alert img {
  max-width: 80px;
  margin-bottom: 12px;
}

#custom-alert-message {
  margin-bottom: 18px;
  font-size: 16px;
}

.instruction-entry-row {
  display: flex;
  align-items: start;
  gap: 8px;
  position: relative;
}

.instruction-entry-row textarea {
  flex: 1;
  min-height: 80px;
  resize: vertical;
}

.mic-button {
  all: unset; /* 👈 resets inherited styles */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 4px Important!; 
  font-size: 18px;
  cursor: pointer;
  background-color: #fffaf0;
  border: 2px solid #81591f;
  border-radius: 4px;
  color: #81591f;
  font-family: "Rockwell", monospace;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease;
}

.mic-button:hover {
  background-color: #f2e0c7;
}

.mic-button.active {
  background-color: #ffe5cc;
  border-color: #cc6600;
}

.quantity-unit {
  display: inline-block;
  width: 6em; /* Adjust to match your quantity column size */
  vertical-align: top;
}

.ingredient-name {
  display: inline-block;
  max-width: 80%; /* Or whatever you need */
  vertical-align: top;
  white-space: normal;
}

.tos-scroll-box {
  height: 120px;
  overflow-y: scroll;
  border: 1px solid #ccc;
  padding: 8px;
  font-size: 0.85em;
  background: #f9f9f9;
}
.reg-tag {
    padding: 4px;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;;
}

@media (max-width: 640px) {
  .signup-wrapper .form-half {
    min-width: 100%;
  }
}

.recipe-entry.dynamic-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.6s ease-in-out, background-color 0.4s ease-in-out;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
}

.enter-page label, .enter-page #sortToggle label {
    color: #000000;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 1),
   -1px -1px 4px rgba(255, 255, 255, 1),
    0 0 6px rgba(255, 255, 255, 1);
    font-weight: bold;
    background: none;
    padding: 0;
    border-radius: 0;
}

.enter-page .recipe-entry {
  background-color: #e8c99e;
  border: 2px solid #000;
  color: #000;
  font-family: "Rockwell", monospace;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 4px;
  text-shadow:
    1px 1px 4px rgba(255, 255, 255, 1),
   -1px -1px 4px rgba(255, 255, 255, 1),
    0 0 6px rgba(255, 255, 255, 1);
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.enter-page .recipe-entry:hover {
  background-color: #edd5b2;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.5);
}

.recipe-entry.dynamic-bg {
  background-image: url("/images/sitename.png");
  padding-top: 30px;
  padding-bottom: 30px;
}

body.dessert-theme {
  background-color: #fff5cc;
  background-image: url('/images/enterPageImages/bg-desserts-wallpaper.png');
  background-repeat: repeat;
  background-size: 400px auto;
}

body.appetizer-theme {
  background-color: #ffe4d6;
  background-image: url('/images/enterPageImages/bg-appetizers-wallpaper.png');
  background-repeat: repeat;
  background-size: 400px auto;
}

body.sides-theme {
  background-color: #e5f7d8;
  background-image: url('/images/enterPageImages/bg-sides-wallpaper.png');
  background-repeat: repeat;
  background-size: 400px auto;
}

body.sauces-theme {
  background-color: #ffe2e0;
  background-image: url('/images/enterPageImages/bg-sauces-wallpaper.png');
  background-repeat: repeat;
  background-size: 400px auto;
}

body.main-theme {
  background-color: #e8e8e8;
  background-image: url('/images/enterPageImages/bg-maincourses-wallpaper.png');
  background-repeat: repeat;
  background-size: 400px auto;
}

body.breads-theme {
  background-color: #fdfdfb;
  background-image: url('/images/enterPageImages/bg-breads-wallpaper.png');
  background-repeat: repeat;
  background-size: 400px auto;
}

body.breads-theme .main-container,
body.dessert-theme .main-container,
body.appetizer-theme .main-container,
body.sides-theme .main-container,
body.sauces-theme .main-container,
body.main-theme .main-container {
  background-color: transparent;
}
