.day-section {
    margin: 14px 0;
    background: #181818;
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px;
}

.day-heading {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    color: #00FFFF;
}

.day-content {
    margin-left: 2px;
}

.meal-details {
    background: #121212;
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 8px;
    margin: 8px 0;
}

.meal-details summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 8px 8px 0 0;
}

.meal-details[open] summary .caret {
    transform: rotate(90deg);
}

.meal-details summary .caret {
    transition: transform 0.15s ease;
}

.meal-details .meal-content {
    padding: 6px 8px 12px;
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.15);
    margin-top: 8px;
    border-radius: 0 0 8px 8px;
}

.meal-details .meal-content .ingredients,
.meal-details .meal-content .instructions {
    flex: 1;
}

.meal-details .meal-content .instructions {
    margin-top: 0;
}

/* Version switch button styling */
.meal-details .meal-content .version-controls {
    margin-top: 12px;
}

.switch-version-btn {
    background-color: #00FFFF;
    color: #121212;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.switch-version-btn:hover {
    background-color: #00E0E0;
}

.switch-version-btn:focus {
    outline: 2px solid #00E0E0;
    outline-offset: 2px;
}

.shopping-clean {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0;
}

.shopping-clean-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.shopping-clean-row input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #00FFFF;
    border-radius: 4px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shopping-clean-row input[type="checkbox"]:checked {
    background-color: #00FFFF;
    border-color: #00FFFF;
}

.shopping-clean-row input[type="checkbox"]::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid #121212;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    left: 5px;
    top: 1px;
    display: none;
}

.shopping-clean-row input[type="checkbox"]:checked::after {
    display: block;
}

.shopping-clean-row label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.shopping-clean-row .details {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shopping-clean-row .size {
    opacity: .85;
}

.shopping-clean-row .name {
    font-weight: 600;
}

.shopping-clean-row .price {
    color: #00FFFF;
    font-weight: 700;
}


/***************************************************
  1) GLOBAL RESETS & BASE STYLES
***************************************************/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    background: #121212;
    display: flex;
    flex-direction: column;
}

body {
    padding-top: 0px;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.main-content {
    flex: 1;
}


/* Offset auth-container on login/signup pages so it's not behind navbar */

body.login-page .auth-container,
body.signup-page .auth-container,
body.forgot-page .auth-container,
body.reset-page .auth-container {
    margin-top: 120px;
}


/***************************************************
  2) NAVBAR
***************************************************/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #121212;
    padding: 15px 18%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 25000; /* stay above wizard overlay */
}

.navbar .logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    background: linear-gradient(45deg, #00FFFF, #00E5E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar .nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar .nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.navbar .nav-links a:hover {
    background: rgba(0, 255, 255, 0.15);
}

.navbar .nav-links a:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
}

.navbar .nav-links .cta-button {
    background: #00FFFF;
    color: #121212;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    transition: background 0.3s ease;
}

.navbar .nav-links .cta-button:hover {
    background: #00E5E5;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-button {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #1A1A1A;
    min-width: 160px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 255, 255, 0.2);
}

.user-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(0, 255, 255, 0.15);
}

.navbar .logo img {
    height: 70px;
    width: auto;
    display: block;
}

/* Hamburger toggle hidden on large screens */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 5%;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #121212;
        padding: 10px 0;
    }

    .navbar .nav-links.open {
        display: flex;
    }

    .navbar .nav-links a {
        display: block;
    }
}


/***************************************************
  3) HERO SECTION
***************************************************/

.hero-section {
    text-align: center;
    padding: 200px 20px 80px;
    background: #121212;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}


/* Hero CTA and trust line spacing */

.hero-section .cta-button {
    margin-top: 14px;
}

.hero-subtext {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #AAAAAA;
}


/* Give a bit more breathing room before the features */

.features-section {
    margin-top: 56px;
}

.cta-button {
    background: #00FFFF;
    color: #121212;
    border: none;
    padding: 15px 35px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
    background: #00E5E5;
    transform: scale(1.05);
}

.cta-button:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
}


/***************************************************
  4) FEATURES SECTION
***************************************************/

.features-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.feature-box {
    background: #1A1A1A;
    border: rgba(0, 255, 255, 0.1) solid;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.1);
    transition: transform 0.3s ease-in-out;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-box h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #FFFFFF;
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.5;
    color: #DDDDDD;
}


/***************************************************
  5) FOOTER
***************************************************/

footer {
    background: #121212;
    color: #fff;
    text-align: center;
    padding: 20px;
}


/***************************************************
  6) AUTHENTICATION FORMS
***************************************************/

.auth-container {
    margin-top: 140px;
    width: 100%;
    max-width: 400px;
    margin: 120px auto 40px;
    background: #1A1A1A;
    border: 2px solid #00FFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.auth-container h2 {
    color: #FFFFFF;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.auth-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #333333;
    border-radius: 5px;
    background: #121212;
    color: #FFFFFF;
    font-size: 1rem;
}

.auth-container input:focus {
    border-color: #00FFFF;
    outline: none;
}

.auth-container button {
    background: #00FFFF;
    border: none;
    border-radius: 5px;
    color: #121212;
    font-size: 1rem;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

.auth-container button:hover {
    background: #00E5E5;
    transform: scale(1.03);
}

.auth-container button:disabled {
    background: #00E5E5;
    cursor: not-allowed;
}

.loading-spinner {
    display: none;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #00FFFF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* New styles for 6-digit code input boxes */

.code-input {
    width: 40px;
    margin: 0;
    padding: 12px;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid #333333;
    border-radius: 5px;
    background: #121212;
    color: #FFFFFF;
}

.code-input:focus {
    border-color: #00FFFF;
    outline: none;
}

#codeInputs {
    display: flex;
    justify-content: center;
    gap: 10px;
}


/***************************************************
  7) ACCOUNT PAGE LAYOUT
***************************************************/

.dashboard-container {
    max-width: 1200px;
    width: 100%;
    margin: 120px auto 0;
    /* leave space for the fixed navbar */
    padding: 20px;
    background: #1A1A1A;
    color: #FFFFFF;
}

.account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1e293b;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.account-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
}

.create-plan-btn {
    background: #00FFFF;
    color: #121212;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.create-plan-btn:hover {
    background: #00E5E5;
    transform: scale(1.02);
}

.meal-plans-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #00FFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#planSearch {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px;
    border: 1px solid #333333;
    border-radius: 5px;
    background: #121212;
    color: #FFFFFF;
}

#planSearch:focus {
    border-color: #00FFFF;
    outline: none;
}

#mealPlansContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.no-plans-message {
    background: #2a2e38;
    color: #cbd5e1;
    font-size: 1.25rem;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.no-plans-message .no-plans-icon {
    font-size: 3rem;
}

.no-plans-message .start-meal-plan {
    background: #00FFFF;
    color: #121212;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    min-width: 200px;
}

.no-plans-message .start-meal-plan:hover {
    background: #00e5e5;
}


.meal-plan-box {
    background: #1A1A1A;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.meal-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #121212;
    border-bottom: 2px solid #00FFFF;
    cursor: pointer;
    padding: 15px 20px;
}

.meal-plan-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-details-btn {
    font-size: 1.4rem;
    color: #00FFFF;
    transition: transform 0.3s;
    transform-origin: center center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.toggle-details-btn.expanded {
    transform: rotate(-90deg);
}

.menu-container {
    position: relative;
    display: inline-block;
}

.menu-icon {
    font-size: 1.4rem;
    color: #00FFFF;
    cursor: pointer;
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: 25px;
    right: 0;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    z-index: 1000;
    min-width: 120px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.meal-plan-box.collapsed {
    overflow: visible;
}

.menu-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-dropdown ul li {
    padding: 10px 15px;
    cursor: pointer;
    color: #fff;
    white-space: nowrap;
    transition: background 0.2s;
}

.menu-dropdown ul li:hover {
    background: #555;
}


.meal-plan-details {
    display: none;
    padding: 20px;
    background: #1A1A1A;
    border-top: 1px solid rgba(0, 255, 255, 0.25);
    animation: fadeIn 0.3s ease-in-out;
}

.meal-plan-box:not(.collapsed) .meal-plan-details {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.meal-day {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ---------- Meal Plan Tabs ---------- */
.plan-tabs {
    display: flex;
    border-bottom: 1px solid rgba(0, 255, 255, 0.25);
    margin-bottom: 15px;
}

.plan-tabs .tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #ccc;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.plan-tabs .tab-btn.active {
    background: #00FFFF;
    color: #121212;
    border-radius: 6px 6px 0 0;
}

.meal-day h5 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #00FFFF;
}


/***************************************************
  8) RECIPE CARD / MEAL BODY
***************************************************/


/* ========= RECIPE CARD / MEAL BODY ========= */

.meal-card {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 6px;
    margin-bottom: 1em;
    padding: 1em;
    transition: box-shadow 0.2s;
}

.meal-card:hover {
    box-shadow: 0 3px 8px rgba(0, 255, 255, 0.1);
}

.meal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75em;
}

.meal-title {
    font-size: 1.2em;
    margin: 0;
    color: #00FFFF;
}

.meal-body {
    padding-top: 0px;
    margin-left: 0.5em;
    background: #121212;
    border-radius: 6px;
    padding: 12px;
}

.ingredients-list {
    list-style-type: disc;
    margin-left: 1.5em;
    margin-top: 0.5em;
    color: #ccc;
    line-height: 1.5;
}

.ingredients-list li {
    margin: 4px 0;
}

.ingredients-list li::marker {
    color: #00FFFF;
}

.instructions {
    margin-top: 0.75em;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #bbb;
}


/* ========= SHOPPING LIST SECTION ========= */


/* Make sure shopping tab content displays and formats correctly */

.meal-plan-details .shopping-list {
    margin-top: 20px;
    padding: 15px 20px;
    background: #1A1A1A;
    border: 1px solid #00FFFF;
    border-radius: 8px;
    color: #FFFFFF;
}

.shopping-list h5 {
    font-size: 1.2rem;
    color: #00FFFF;
    margin-bottom: 15px;
}

.shopping-list-items li {
    margin-bottom: 10px;
    padding: 8px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shopping-check {
    margin-right: 10px;
}

.item-name {
    flex: 1;
    color: #FFFFFF;
}

.item-qty {
    color: #AAAAAA;
    font-size: 0.9rem;
    white-space: nowrap;
}

.shopping-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shopping-item {
    margin-bottom: 10px;
    border-bottom: 1px solid #222;
    padding: 8px 0;
}

.checkbox-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    /* smaller gap between checkbox, name, and quantity */
    font-size: 1rem;
    color: #fff;
    padding-left: 4px;
}

.shopping-list-card {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 6px;
    margin-top: 20px;
    padding: 1em;
    transition: box-shadow 0.2s;
}

.shopping-list-card:hover {
    box-shadow: 0 3px 8px rgba(0, 255, 255, 0.1);
}

.shopping-list-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00FFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #00FFFF;
    padding-bottom: 6px;
}


/* Custom checkbox style */

.checkbox-row input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #00FFFF;
    border-radius: 4px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 4px;
}

.checkbox-row input[type="checkbox"]:checked {
    background-color: #00FFFF;
    border-color: #00FFFF;
}

.checkbox-row input[type="checkbox"]::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid #121212;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    left: 6px;
    top: 1px;
    display: none;
}

.checkbox-row input[type="checkbox"]:checked::after {
    display: block;
}

.checkbox-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    color: #fff;
    padding-left: 4px;
}

.ingredient-name {
    font-weight: 500;
    color: #00FFFF;
}

.ingredient-quantity {
    color: #ccc;
    font-size: 0.95rem;
    padding-left: 10px;
    text-align: left;
    white-space: nowrap;
}


/* *********************************************
   WIZARD SECTION - UPDATED
********************************************* */

.wizard-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 20000;
    align-items: center;
    justify-content: center;
}

.wizard-container {
    width: 700px;
    max-width: 95%;
    background: #1A1A1A;
    border: 2px solid #00FFFF;
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.step-indicator {
    --step-size: 60px;
    position: relative;
    margin-top: -10px;
    margin-bottom: 25px;
}

.step-indicator ol {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.step-indicator li {
    position: relative;
    z-index: 1;
    width: var(--step-size);
    height: var(--step-size);
    border-radius: 50%;
    /* Base (dark) background so it's not "highlighted" initially */
    background: #121212;
    border: 2px solid #00FFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #00FFFF;
    transition: all 0.3s ease;
}

.step-number {
    font-weight: 600;
}

.step-indicator li.active {
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.step-indicator li.completed {
    background: #00FFFF;
    /* bright teal fill */
    color: #121212;
    /* dark text so it's legible on teal */
}

.form-step {
    display: none;
    padding-top: 10px;
    padding-bottom: 20px;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* The step content area */

.step-content {
    min-height: 350px;
    padding: 10px 5px;
}


/* Make main question headings bigger & centered (applies to all steps) */

.step-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
}


/* Center & space sub-questions in paragraphs (applies to all steps) */

.form-step.active .step-content p {
    text-align: center;
    margin: 1rem 0 1.5rem;
    font-size: 1.1rem;
}

.nav-button-row {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    margin-top: 20px;
}

.nav-btn {
    background: #121212;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    color: #00FFFF;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 30px;
    min-width: 120px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s,
        box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0, 255, 255, 0.2);
}

.nav-btn:hover {
    background: #00FFFF;
    color: #121212;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}

.nav-btn.loading {
    cursor: not-allowed;
    opacity: 0.7;
}

.nav-btn.loading::after {
    content: "";
    margin-left: 8px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: #00FFFF;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}


/* 
   ====================================
   SPECIFIC STYLING FOR STEP 1 (Budget)
   ====================================
*/


/* Larger heading for Step 1 specifically */

.form-step[data-step="1"] .step-content h2 {
    font-size: 2rem;
    /* bigger text than other steps */
    margin-bottom: 1.5rem;
    /* extra spacing below heading */
}


/* Bigger quick-budget buttons on Step 1 */

.form-step[data-step="2"] .budget-quick {
    gap: 30px;
    /* more space between each button */
    margin: 30px 0;
    /* bigger top/bottom spacing */
}

.form-step[data-step="2"] .quick-budget {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    /* increase button size */
    border-radius: 10px;
    /* slightly more rounded corners */
}


/* Modern slider track & thumb for Step 1 */

.form-step[data-step="1"] .slider-container label {
    font-size: 1.1rem;
    /* bigger label */
    margin-bottom: 0.5rem;
    display: inline-block;
    /* keep label on its own line */
}

.form-step[data-step="1"] input[type="range"] {
    width: 80%;
    margin: 10px auto 0;
    display: block;
    /* center it horizontally */
}


/* WebKit browsers (Chrome, Safari) */

.form-step[data-step="1"] input[type="range"]::-webkit-slider-runnable-track {
    height: 12px;
    background: linear-gradient(90deg, #444, #555);
    border-radius: 6px;
    cursor: pointer;
}

.form-step[data-step="1"] input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: #00FFFF;
    border: 2px solid #121212;
    transition: transform 0.2s, background 0.3s;
    cursor: pointer;
    margin-top: -9px;
}

.form-step[data-step="1"] input[type="range"]::-webkit-slider-thumb:hover {
    background: #00E5E5;
    transform: scale(1.1);
}


/* Firefox (Moz) */

.form-step[data-step="1"] input[type="range"]::-moz-range-track {
    height: 12px;
    background: linear-gradient(90deg, #444, #555);
    border-radius: 6px;
    cursor: pointer;
}

.form-step[data-step="1"] input[type="range"]::-moz-range-thumb {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: #00FFFF;
    border: 2px solid #121212;
    transition: transform 0.2s, background 0.3s;
    cursor: pointer;
}

.form-step[data-step="1"] input[type="range"]::-moz-range-thumb:hover {
    background: #00E5E5;
    transform: scale(1.1);
}


/* 
   ============
   STEP 5 Review
   ============
*/


/* 
   STEP 5 TABLE LAYOUT
   Ensures all labels, answers, and Edit buttons
   line up in neat columns.
*/

.form-step[data-step="5"] .step-content {
    text-align: center;
    /* center the heading "Review Your Selections" */
}


/* The <ul> is treated like a table */

.form-step[data-step="5"] .summary-list {
    display: table;
    margin: 1rem auto;
    /* a bit wider if needed */
    max-width: 560px;
}


/* Each <li> is a table row */

.form-step[data-step="5"] .summary-list li {
    display: table-row;
    margin-bottom: 0.5rem;
    /* vertical spacing between rows */
}


/* 
   We'll treat each element inside <li> as a table cell:
   1) <strong> = Column 1 (label)
   2) <span> = Column 2 (answer)
   3) .edit-btn = Column 3 (button)
*/

.form-step[data-step="5"] .summary-list li strong {
    display: table-cell;
    width: 200px;
    /* bigger width for longer labels */
    text-align: right;
    color: #fff;
    vertical-align: middle;
    white-space: nowrap;
    /* keeps it on one line */
    padding: 0.5rem 1rem;
}


/* The answer cell */

.form-step[data-step="5"] .summary-list li span {
    display: table-cell;
    min-width: 150px;
    /* or however wide you want the answer column */
    text-align: left;
    padding: 0.5rem 1rem;
    color: #ddd;
    vertical-align: middle;
}


/* The Edit button cell */

.form-step[data-step="5"] .summary-list li .edit-btn {
    display: table-cell;
    background: #333;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    /* keep "Edit" from wrapping */
}

.form-step[data-step="5"] .summary-list li .edit-btn:hover {
    background: #444;
    color: #fff;
}


/* Summary list styling */

.summary-list {
    list-style: none;
    padding: 0;
    margin: 1rem auto;
    max-width: 400px;
    text-align: left;
}

.summary-list li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: #ddd;
}


/* The "Edit" buttons in the summary */

.edit-btn {
    margin-left: 10px;
    background: #333;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.edit-btn:hover {
    background: #444;
    color: #fff;
}


/* ==========================
   STEP 5 (Review) - Lined-Up Edit Buttons
   ========================== */


/* The step content remains centered overall */

.form-step[data-step="5"] .step-content {
    text-align: center;
    margin: 0 auto;
}


/* Transform the summary list into a vertical flex container */

.form-step[data-step="5"] .summary-list {
    display: flex;
    flex-direction: column;
    margin: 1rem auto;
    padding: 0;
    max-width: 500px;
    /* adjust as you like */
    list-style: none;
}


/* 
   Each list item is a row: 
   question/answer on the left, "Edit" button on the right.
*/

.form-step[data-step="5"] .summary-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #ddd;
}


/* The question labels (e.g. Budget:) remain bolder & whiter */

.form-step[data-step="5"] .summary-list li strong {
    color: #fff;
}

.form-step[data-step="5"] .summary-list li span {
    flex: 1;
    word-break: break-word;
}


/* The "Edit" button sits on the far right */

.form-step[data-step="5"] .edit-btn {
    margin-left: auto;
    background: #333;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.form-step[data-step="5"] .edit-btn:hover {
    background: #444;
    color: #fff;
}

/* Responsive adjustments for smaller screens on the review step */
@media (max-width: 480px) {
    .form-step[data-step="5"] .summary-list {
        max-width: 100%;
    }

    .form-step[data-step="5"] .summary-list li {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .form-step[data-step="5"] .summary-list li strong,
    .form-step[data-step="5"] .summary-list li span {
        width: auto;
        white-space: normal;
        text-align: left;
    }

    .form-step[data-step="5"] .summary-list li .edit-btn {
        margin-top: 0;
    }
}

/* 
   ============
   ALL STEPS
   ============
*/


/* Adjust spacing in slider step (applies to any step using .slider-container) */

.slider-container {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.slider-container label {
    color: #DDDDDD;
    font-size: 1rem;
}

#budgetDisplay {
    font-weight: bold;
    margin-left: 10px;
    color: #00FFFF;
}


/* Center & style the dropdown under "How many days?" */

.custom-select-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.custom-select-container select {
    width: 100%;
    max-width: 280px;
    appearance: none;
    background: #121212;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    color: #00FFFF;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s,
        box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0, 255, 255, 0.2);
}

.custom-select-container select:hover,
.custom-select-container select:focus {
    border-color: #00E5E5;
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}


/* Modern style & fixed size for the last step's text area (#extraInfo) */

#extraInfo {
    display: block;
    margin: 0 auto 1.5rem;
    width: 80%;
    height: 120px;
    background: #1A1A1A;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    color: #00FFFF;
    font-size: 1rem;
    padding: 0.75rem;
    resize: none;
    /* optional: remove the draggable handle */
}

#extraInfo::placeholder {
    color: #888;
}

#extraInfo:focus {
    outline: none;
    border-color: #00E5E5;
}

.form-step[data-step="2"] .budget-number-container {
    text-align: center;
    margin: 1rem 0;
}

.form-step[data-step="2"] .budget-number-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #DDDDDD;
}

#budgetNumber {
    width: 120px;
    background: #121212;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    color: #00FFFF;
    font-size: 1rem;
    text-align: center;
    padding: 0.5rem;
    outline: none;
    transition: border-color 0.3s;
}

#budgetNumber:hover {
    border-color: #00E5E5;
}

#budgetNumber:focus {
    border-color: #00E5E5;
}


/* 
   IMPORTANT: 
   We have separated .meal-options out so it's 3 columns, 
   while store-options/dietary-options remain 2 columns.
*/


/* The original 2-column rule for store-options & dietary-options */

.store-options,
.dietary-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}


/* Arrange meal choices in a two-column grid */

.meal-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 550px;
    margin: 0 auto 20px;
}

.day-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.day-selector label {
    font-size: 1.1rem;
    color: #CCCCCC;
    margin-bottom: 10px;
}


/* Option boxes */

.option-box {
    background: #121212;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    padding: 1rem;
    color: #00FFFF;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0, 255, 255, 0.2);
}

.option-box:hover,
.option-box:focus {
    background: #00FFFF;
    color: #121212;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}

.option-box.selected {
    background: #00FFFF;
    color: #121212;
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}


/***************************************************
  10) QUICK BUDGET & OPTION BOXES
***************************************************/

.budget-quick {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.quick-budget {
    background: #121212;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    color: #00FFFF;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 255, 255, 0.2);
}

.quick-budget:hover {
    background: #00FFFF;
    color: #121212;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}

.quick-budget.selected {
    background: #00FFFF;
    color: #121212;
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}

.slider-container {
    text-align: center;
    margin: 1.5rem auto;
    max-width: 400px;
}

.slider-container label {
    color: #DDDDDD;
    font-size: 1rem;
}

#budgetDisplay {
    font-weight: bold;
    margin-left: 10px;
    color: #00FFFF;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 80%;
    background: transparent;
    margin: 10px 0;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    background: #333333;
    border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #00FFFF;
    cursor: pointer;
    margin-top: -8px;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="range"]:hover::-webkit-slider-thumb {
    background: #00E5E5;
    transform: scale(1.1);
}

input[type="range"]::-moz-range-track {
    height: 8px;
    background: #333333;
    border-radius: 4px;
}

input[type="range"]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #00FFFF;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="range"]:hover::-moz-range-thumb {
    background: #00E5E5;
    transform: scale(1.1);
}

.dietary-options {
    row-gap: 15px;
}


/***************************************************
  11) LOADING INDICATOR & MEAL PLAN RESULT
***************************************************/

.highlight-new {
    outline: 3px solid lime;
    animation: newPlanFlash 1.5s ease-in-out 3;
}

@keyframes newPlanFlash {
    0%,
    100% {
        outline-color: lime;
    }
    50% {
        outline-color: yellow;
    }
}

.toggle-arrow {
    background: #00FFFF;
    color: #121212;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.toggle-arrow:hover {
    background: #00E5E5;
}

.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-indicator.hidden {
    display: none;
}

.loading-indicator p {
    color: #00FFFF;
    font-size: 1.5rem;
    text-align: center;
    animation: pulse 1.5s infinite;
}

.loading-indicator .spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(0, 255, 255, 0.3);
    border-top-color: #00FFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

.guest-save-btn {
    background-color: #008CBA;
    color: #fff;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: background 0.3s, transform 0.2s;
}

.guest-save-btn:hover {
    background-color: #007aad;
    transform: scale(1.03);
}

.meal-plan-result {
    max-width: 900px;
    margin: 120px auto;
    background: #1A1A1A;
    border: 2px solid #00FFFF;
    border-radius: 16px;
    padding: 30px;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.meal-plan-result.hidden {
    display: none;
}


/***************************************************
  12) MODALS
***************************************************/

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #2a2e38;
    color: #f0f0f0;
    margin: 15% auto;
    padding: 25px;
    border: 1px solid #444;
    width: 350px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #00FFFF;
    text-align: center;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #555;
    background: #1a1a1a;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
}

.modal-content input:focus {
    outline: none;
    border-color: #00FFFF;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.modal-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.modal-actions .cancel-btn {
    background: #444;
    color: #ddd;
}

.modal-actions .cancel-btn:hover {
    background: #555;
}

.modal-actions .save-btn {
    background: #00FFFF;
    color: #121212;
}

.modal-actions .save-btn:hover {
    background: #00E5E5;
}

#closeAccountWizardModal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #00FFFF;
    color: #121212;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1rem;
    z-index: 100;
    transition: background 0.3s, transform 0.2s;
}

#closeAccountWizardModal:hover {
    background: #00E5E5;
    transform: scale(1.03);
}


/***************************************************
  13) RESPONSIVE ADJUSTMENTS
***************************************************/

@media (max-width: 768px) {
    .dashboard-container {
        padding: 15px;
        margin-top: 120px;
        /* ensure content starts below the navbar */
    }
    .account-header {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    .account-header h2 {
        margin-bottom: 15px;
        font-size: 1.5rem;
    }
    .shopping-list-header,
    .shopping-item {
        font-size: 0.9rem;
    }
}


/***************************************************
  14) MY MEAL PLAN CHANGES
***************************************************/


/* 'Jump to List' near top */

.jump-to-list-btn {
    display: inline-block;
    margin-bottom: 15px;
    background: transparent;
    color: #00FFFF;
    border: 1px solid #00FFFF;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;
}

.jump-to-list-btn:hover {
    background: #00FFFF;
    color: #121212;
}


/* 'Back to Top' in the shopping list */

.back-to-top-btn {
    display: inline-block;
    margin-top: 15px;
    background: #00FFFF;
    color: #121212;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-weight: 500;
    cursor: pointer;
    float: right;
    transition: background 0.3s, transform 0.2s;
}

.back-to-top-btn:hover {
    background: #00E5E5;
    transform: scale(1.05);
}


/***************************************************
  15) HIDE/UNHIDE MEAL FEATURE
***************************************************/


/* The small row with meal title + hide button */

.meal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
}

.hide-meal-btn {
    background: #333;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.hide-meal-btn:hover {
    background: #444;
    color: #fff;
}


/* When the meal is hidden, we add .hidden-meal to the meal-card */

.hidden-meal .meal-body {
    padding-top: 0px;
    display: none;
}

.hidden-meal .hide-meal-btn {
    background: #00ffff;
    color: #121212;
}

.hidden-meal .hide-meal-btn:hover {
    background: #00e5e5;
    color: #121212;
}


/* ===== MEAL PLAN TAB NAVIGATION ===== */

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    background: #333;
    color: #ccc;
    border: 1px solid #444;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.tab-btn:hover {
    background: #444;
    color: #fff;
}

.tab-btn.active {
    background: #00FFFF;
    color: #121212;
}


/* Hide non-active tab content */

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}


/* Recipe presentation tweaks */

.ingredients h4,
.instructions h4 {
    color: #00FFFF;
    margin-bottom: 6px;
    font-size: 1.1rem;
}


/* Meal plan card layout */

.meal-plan-box {
    border-radius: 10px;
    background: #1A1A1A;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.meal-plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #121212;
    border-bottom: 2px solid #00FFFF;
}

.meal-plan-header .title-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.price-badge {
    display: inline-block;
    font-size: 0.9rem;
    color: #121212;
    background: #00FFFF;
    padding: 2px 8px;
    border-radius: 999px;
}

.toggle-chevron {
    cursor: pointer;
    user-select: none;
}


.day-box {
    border: 1px dashed rgba(0, 255, 255, 0.25);
    border-radius: 10px;
    padding: 10px;
    margin-top: 12px;
}

.day-meals .meal-card {
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    margin: 10px 0;
}

.meal-row .meal-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meal-chip {
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.35);
    color: #00FFFF;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 999px;
}

.shopping-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 6px;
}

.shopping-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
}

.shopping-row .item-name {
    font-weight: 600;
}

.shopping-row .item-qty {
    opacity: 0.85;
}

.shopping-row .item-price {
    color: #00FFFF;
}


/* =========================
   Typography refinements
   ========================= */


/* Plan title and price */

.meal-plan-title-box {
    font-size: 1.28rem;
    font-weight: 700;
}

.price-badge {
    font-weight: 600;
    letter-spacing: 0.01em;
}


/* Day heading */

.day-heading {
    font-size: 1.12rem;
    font-weight: 600;
}


/* Meal summary row */

.meal-details summary {
    font-size: 1rem;
}

.meal-details summary .meal-type {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: rgba(0, 255, 255, 0.9);
}

.meal-details summary .meal-name {
    font-weight: 650;
}


/* Inside meal content */

.ingredients h4,
.instructions h4 {
    font-size: 1.12rem;
    font-weight: 700;
}

.ingredients-list li {
    font-size: 0.96rem;
    line-height: 1.6;
}

.ingredients-list li strong {
    font-weight: 650;
}

.instructions p {
    font-size: 0.98rem;
    line-height: 1.6;
}


/* Shopping list */

.shopping-summary h5 {
    font-size: 1.06rem;
    font-weight: 700;
}

.shopping-summary .summary-total {
    font-weight: 800;
}

.shopping-clean-row .name {
    font-size: 0.98rem;
    font-weight: 650;
}

.shopping-clean-row .size {
    font-size: 0.95rem;
}

.shopping-clean-row .price {
    font-size: 0.98rem;
    font-weight: 700;
}

.meal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
}

.meal-card-header .meal-title {
    font-size: 1.05rem;
}

.ingredients,
.instructions {
    margin-bottom: 1.25rem;
}

.instructions p {
    margin: 0;
    line-height: 1.6;
    color: #ddd;
}


/* STEP 1: Budget - Better Spacing & Layout */

.form-step[data-step="1"] .step-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-step[data-step="2"] .budget-quick {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.form-step[data-step="2"] .quick-budget {
    padding: 0.9rem 1.4rem;
    font-size: 1.05rem;
    border-radius: 10px;
}


/* Budget number input container */

.form-step[data-step="2"] .budget-number-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.form-step[data-step="2"] .budget-number-container label {
    font-size: 1.1rem;
    color: #CCCCCC;
    margin-bottom: 10px;
}

#budgetNumber {
    width: 100px;
    padding: 10px;
    font-size: 1rem;
    border-radius: 8px;
    background: #1A1A1A;
    border: 2px solid #00CCCC;
    color: #00FFFF;
    text-align: center;
    transition: border-color 0.3s;
}

#budgetNumber:focus {
    outline: none;
    border-color: #00E5E5;
}


/* --- Wizard Progress Bar --- */

.wizard-progress-bar {
    position: absolute;
    top: 50%;
    left: calc(var(--step-size) / 2);
    width: calc(100% - var(--step-size));
    height: 6px;
    background: #333;
    border-radius: 5px;
    overflow: hidden;
    transform: translateY(-50%);
}

.wizard-progress-fill {
    height: 100%;
    background: #00FFFF;
    width: 0%;
    transition: width 0.3s ease;
}


/* --- Wizard Helper Text --- */

.wizard-help {
    color: #aaa;
    font-size: 0.95rem;
    margin-top: -10px;
    margin-bottom: 25px;
    text-align: center;
}


/* --- Tighter spacing between icons and step content --- */

.step-indicator {
    margin-bottom: 10px;
}

.wizard-container {
    gap: 15px;
}

/* Mobile adjustments for wizard step 1 and progress indicator */
@media (max-width: 480px) {
    .step-indicator {
        --step-size: 50px;
    }

    .form-step[data-step="1"] .step-content {
        margin-top: -4px;
    }

    .form-step[data-step="1"] .step-content h2 {
        margin-bottom: 1rem;
    }

    .form-step[data-step="1"] .wizard-help {
        margin-top: -14px;
    }

    /* Make Step 2 quick budget options a 2x2 grid on mobile */
    .form-step[data-step="2"] .budget-quick {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        max-width: 550px;
        margin: 20px auto;
    }

    .form-step[data-step="2"] .quick-budget {
        width: 100%;
    }
}


/* Custom Diet Tag Input */

.custom-diet-wrapper {
    margin-top: 20px;
    text-align: center;
}

#customDietInput {
    width: 80%;
    max-width: 400px;
    padding: 10px 12px;
    font-size: 1rem;
    border: 2px solid #00CCCC;
    border-radius: 8px;
    background: #1A1A1A;
    color: #00FFFF;
    margin-top: 10px;
    margin-bottom: 5px;
}

#customDietInput:focus {
    outline: none;
    border-color: #00E5E5;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.diet-tag {
    background-color: #00CCCC;
    color: #121212;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.preferred-ingredients-wrapper {
    margin-top: 20px;
    text-align: center;
}

#preferredIngredientsInput {
    width: 80%;
    max-width: 400px;
    padding: 10px 12px;
    font-size: 1rem;
    border: 2px solid #00CCCC;
    border-radius: 8px;
    background: #1A1A1A;
    color: #00FFFF;
    margin-top: 10px;
    margin-bottom: 5px;
}

#preferredIngredientsInput:focus {
    outline: none;
    border-color: #00E5E5;
}

.ingredient-tag {
    background-color: #00CCCC;
    color: #121212;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.remove-tag {
    background: none;
    border: none;
    color: #121212;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
}

.suggestions-box {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    background: #222;
    border: 1px solid #00CCCC;
    border-radius: 6px;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    position: relative;
    z-index: 10;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #333;
    color: #00FFFF;
}

.suggestion-item:hover {
    background-color: #00CCCC;
    color: #121212;
}

#dietSuggestions:not(:empty) {
    display: block;
}


/* ---------------- AUTH REDESIGN ---------------- */

.auth-container {
    margin-top: 140px;
    max-width: 420px;
    margin: 80px auto;
    padding: 40px 30px;
    background-color: #1A1A1A;
    border: 1px solid #2A2A2A;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
    color: #FFFFFF;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.auth-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.auth-container p {
    font-size: 0.95rem;
    margin: 10px 0;
    color: #AAAAAA;
}

.auth-container a {
    color: #00FFFF;
    text-decoration: none;
}

.auth-container a:hover {
    text-decoration: underline;
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.auth-container input {
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #333333;
    background-color: #121212;
    color: #00FFFF;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-container input:focus {
    border-color: #00FFFF;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
    outline: none;
}

.auth-container button {
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(to right, #00FFFF, #00E5E5);
    border: none;
    border-radius: 8px;
    color: #121212;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.auth-container button:hover {
    transform: scale(1.03);
    background: linear-gradient(to right, #00E5E5, #00FFFF);
}

.auth-container .inline-error {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 6px;
    margin-top: 5px;
    display: none;
}

.auth-container .password-toggle {
    position: relative;
}

.auth-container .password-toggle input {
    width: 100%;
    padding-right: 40px;
}

.auth-container .toggle-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

.auth-container .remember-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.auth-container .remember-wrapper .switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.auth-container .remember-wrapper .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.auth-container .remember-wrapper .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333333;
    transition: background 0.3s;
    border-radius: 24px;
}

.auth-container .remember-wrapper .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: #121212;
    transition: transform 0.3s;
    border-radius: 50%;
}

.auth-container .remember-wrapper input:checked + .slider {
    background-color: #00FFFF;
}

.auth-container .remember-wrapper input:checked + .slider:before {
    transform: translateX(18px);
}

.auth-container .remember-wrapper input:focus + .slider {
    box-shadow: 0 0 2px #00FFFF;
}

.auth-container .remember-label {
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
}

.inline-error.show-message {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .features-section {
        display: none !important;
    }
    footer {
        position: static !important;
        margin-top: 10px !important;
        padding: 20px 16px !important;
    }
}

.tab-control {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.tab-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.tab-section .meal-card:first-child {
    margin-top: 20px !important;
}


/* Scoped tab visibility for meal plan tabs only */

.meal-plan-details .tab-content {
    display: none;
}

.meal-plan-details .tab-content.active {
    display: block;
}


/* Scoped to meal-plan tab content only */

.meal-plan-box .tab-content {
    display: none;
}

.meal-plan-box .tab-content.active {
    display: block;
}


/* === INLINE CSS EXTRACTED ON 2025-05-09 === */

.fade-in {
    animation: fadeIn 0.15s ease-out forwards;
}

.fade-out {
    animation: fadeOut 0.25s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.wizard-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.wizard-overlay.visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.25s ease-in-out;
}

.wizard-overlay {
    background: #121212;
    /* match main site background */
}


/* 1) container to position the $ icon */

.input-with-prefix {
    position: relative;
    display: inline-block;
}


/* 2) the $ itself, absolutely positioned */

.input-with-prefix .currency-symbol {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #00FFFF;
    /* neon‐cyan to match your theme */
    font-size: 1rem;
    pointer-events: none;
    /* clicks go to the input, not this span */
}


/* 3) pad the input so typed numbers don't overlap the $ */

.input-with-prefix input {
    padding-left: 1.5em;
    /* ~24px, adjust if you like */
    /* copy your existing input styles, for example: */
    background: #222;
    border: 2px solid #00FFFF;
    border-radius: 6px;
    color: #00FFFF;
    font-size: 1rem;
    height: 2.5em;
    outline: none;
    width: 6em;
}


/* 4) (optional) stronger border on focus */

.input-with-prefix input:focus {
    border-color: #00E5E5;
}

#mealPlanWrapper {
    padding: 20px;
    background-color: #1a1a1a;
    color: #eee;
    border: 1px solid #0ff;
    border-radius: 12px;
    margin-top: 300px;
    /* fallback if JS fails */
    padding-top: 20px;
    margin: 20px auto;
    max-width: 900px;
}

#mealPlanWrapper .meal-title {
    color: #0ff;
}


/* and so on for .meal-card, .meal-body, etc... */

#mealPlanWrapper .meal-card {
    background-color: #252525;
    border-left: 6px solid #0ff;
    margin-bottom: 20px;
    padding: 12px;
    margin-top: 80px;
    padding-top: 20px;
    border-radius: 10px;
}

#mealPlanWrapper .meal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mealPlanWrapper .meal-body {
    padding-top: 10px;
}

#mealPlanWrapper .ingredients-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#mealPlanWrapper .shopping-list {
    background-color: #111;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #00ffff;
    margin-top: 1rem;
}

#mealPlanWrapper .shopping-item {
    margin: 0.4rem 0;
    display: flex;
    align-items: center;
}

#mealPlanWrapper .shopping-item .item-name {
    font-weight: 500;
    margin-right: 0.5rem;
    color: #fff;
}

#mealPlanWrapper .shopping-item .item-qty {
    font-style: italic;
    color: #aaa;
}

#mealPlanWrapper button.cta-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #0ff;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#mealPlanWrapper button.cta-button:hover {
    background-color: #00e0e0;
}

.wizard-overlay.error-state .wizard-container {
    background: transparent;
    /* remove dark fill */
    border: none;
    /* remove neon outline */
    box-shadow: none;
    /* remove glow */
}


/* ——— Make your error banner fill the exact same space ——— */


/* ——— ERROR BANNER CARD ——— */

.wizard-error {
    background-color: #2a2a2a;
    /* dark card background */
    border: 2px solid #0ff;
    /* neon‑cyan outline */
    border-radius: 12px;
    /* rounded corners */
    padding: 1rem 1.5rem;
    /* space inside the box */
    margin-bottom: 1rem;
    /* separate from the steps */
    font-size: 1rem;
    /* legible text size */
    color: #fff;
    /* white text */
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.25);
    /* subtle glow */
    width: 90%;
    /* near‑full width of the modal */
    max-width: 700px;
    /* cap at your normal wizard width */
    text-align: center;
    /* center the message */
    box-sizing: border-box;
    /* include padding in that width */
}

.wizard-overlay.error-state .step-indicator,
.wizard-overlay.error-state .form-step {
    display: none !important;
}

.tab-control {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 8px 16px;
    background: #111;
    border: 2px solid #0ff;
    color: #0ff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.tab-btn.active {
    background: #0ff;
    color: #000;
}

.tab-section {
    display: block;
}


/* 3) pad the input so typed numbers don't overlap the $ */

.input-with-prefix input {
    padding-left: 1.5em;
    /* ~24px, adjust if you like */
    /* copy your existing input styles, for example: */
    background: #222;
    border: 2px solid #00FFFF;
    border-radius: 6px;
    color: #00FFFF;
    font-size: 1rem;
    height: 2.5em;
    outline: none;
    width: 6em;
}


.wizard-overlay select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #121212;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    padding: 12px 16px;
    color: #00FFFF;
    font-size: 1rem;
    outline: none;
    width: 100%;
    max-width: 280px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 255, 255, 0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.wizard-overlay select:focus,
.wizard-overlay select:hover {
    border-color: #00E5E5;
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}


/* Add a down arrow indicator */

.wizard-overlay select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%2300ffff' d='M2 5L0 0h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 8px;
}

.regenerate-checkbox {
    margin-right: 8px;
    transform: scale(1.2);
}

.meal-card[data-current="updated"] {
    border-left: 6px solid #00ffff;
    background-color: #1e1e1e;
}

.meal-card[data-current="original"] {
    border-left: 6px solid #ff8c00;
    background-color: #252525;
}

.version-badge {
    margin-left: 10px;
    font-size: 12px;
    color: #ccc;
}

.rename-input {
    font-size: 1.25rem;
    font-weight: bold;
    padding: 6px 10px;
    border: 2px solid cyan;
    border-radius: 8px;
    background-color: #111;
    color: #0ff;
    width: 100%;
    max-width: 300px;
    margin: 5px 0;
    outline: none;
}

.rename-input:focus {
    border-color: #0ff;
    background-color: #000;
}

.meal-title {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: #111;
    border: 1px solid #0ff;
    color: #0ff;
    font-weight: bold;
    font-size: 1.25rem;
}


/* Rename input */

.rename-input {
    font-size: 1.25rem;
    font-weight: bold;
    padding: 6px 12px;
    border: 2px solid #00ffff;
    border-radius: 8px;
    background-color: #111;
    color: #00ffff;
    max-width: 300px;
    margin: 5px 0;
    outline: none;
}

.rename-input:focus {
    border-color: #00ffff;
    background-color: #000;
}


/* Hide button inside meal title */

.meal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meal-card-header .meal-title {
    margin-bottom: 0;
}

.hide-meal-btn {
    font-size: 0.85rem;
    padding: 3px 8px;
    border: none;
    background-color: #222;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 12px;
    transition: background-color 0.2s ease;
}

.hide-meal-btn:hover {
    background-color: #00ffff;
    color: #000;
}


/* Meal card header and Hide button */

.meal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Meal plan rename input - modern but subtle */

.rename-meal-title {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 6px 12px;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #1c1c1c;
    color: #eee;
    width: 100%;
    max-width: 300px;
    margin: 4px 0;
    outline: none;
    transition: border 0.2s ease;
}

.rename-meal-title:focus {
    border-color: #888;
    background-color: #111;
}


/* Meal plan title (default view) */

.meal-plan-title-box {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ddd;
    background-color: #1a1a1a;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    margin: 4px 0;
}


/* Shopping List Container */

.shopping-list {
    background-color: #111;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #00ffff;
    margin-top: 1rem;
}


/* Title with total */

.shopping-list h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #0ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Item styling */

.shopping-list-items {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.shopping-item {
    margin: 0.4rem 0;
    display: flex;
    align-items: center;
}

.shopping-item input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #0ff;
}

.shopping-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #eee;
}

.item-name {
    font-weight: 500;
    margin-right: 0.5rem;
    color: #fff;
}

.item-qty {
    font-style: italic;
    color: #aaa;
}

.rename-btn-group {
    display: inline-flex;
    gap: 6px;
    margin-left: 10px;
}

.rename-submit-btn,
.rename-cancel-btn {
    background-color: #0ff;
    color: #000;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.rename-cancel-btn {
    background-color: #333;
    color: #ccc;
}

.rename-submit-btn:hover {
    background-color: #00e0e0;
}

.rename-cancel-btn:hover {
    background-color: #444;
    color: #fff;
}

.rename-submit-btn {
    background-color: #28a745;
    color: #fff;
}

.rename-submit-btn:hover {
    background-color: #218838;
}

.rename-cancel-btn {
    background-color: #dc3545;
    color: #fff;
}

.rename-cancel-btn:hover {
    background-color: #c82333;
}

.regen-check {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #00ffff;
    background: transparent;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    top: 2px;
}

.regen-check:checked {
    background-color: #00ffff;
}

.meal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meal-card-header .meal-title {
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.regen-action-row {
    display: none;
    gap: 10px;
    margin-left: auto;
    align-items: center;
}

.regen-mode .regen-action-row {
    display: flex;
}

.set-active-btn,
.swap-version-btn {
    background: #333;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
}

.set-active-btn:hover,
.swap-version-btn:hover {
    background: #444;
    color: #fff;
}


/* Mobile Responsive Styles */

@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 0 10px;
    }
    .hero-section {
        margin-bottom: 2rem;
    }
    .features-section {
        display: none !important;
    }
    footer {
        position: static !important;
        margin-top: 20px;
        padding-bottom: 40px;
    }
}


/* ——— When in error, hide the underlying neon container framing ——— */

.wizard-overlay.error-state .wizard-container {
    background: transparent;
    /* remove dark fill */
    border: none;
    /* remove neon outline */
    box-shadow: none;
    /* remove glow */
}


/* ——— Make your error banner fill the exact same space ——— */

.wizard-error {
    width: 700px;
    /* match your normal wizard-container width */
    max-width: 95%;
    margin: 0 auto;
    /* center it exactly inside the overlay */
    box-sizing: border-box;
    /* include padding in that width */
}

button.share-plan-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

button.share-plan-btn::before {
    content: '🔗';
}

.header-icons .save-plan-btn,
.header-icons button.share-plan-btn {
    background: #00FFFF;
    color: #121212;
    border: none;
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.header-icons .save-plan-btn:hover,
.header-icons button.share-plan-btn:hover {
    background: #00E5E5;
    transform: scale(1.05);
}

/* ------------------------------------
   Pricing Page
------------------------------------ */

.pricing-section {
    margin-top: 120px;
    text-align: center;
    padding: 40px 20px;
}

.pricing-section h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.plan-box {
    background: #1A1A1A;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px 20px;
    width: 280px;
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.plan-box h2 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.plan-price {
    font-size: 2rem;
    color: #00FFFF;
    margin: 10px 0 20px;
    text-align: center;
}

.plan-price.coming-soon {
    color: #AAAAAA;
}

.plan-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    color: #DDDDDD;
    width: 100%;
}

.plan-box ul li {
    margin-bottom: 10px;
}

.plan-tag {
    margin-top: auto;
    background: #00FFFF;
    color: #121212;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
}

.plan-box.current {
    border: 1px solid #00FFFF;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .plans-container {
        flex-direction: column;
        align-items: center;
    }
    .plan-box {
        width: 90%;
    }
}
