/* Basic Reset & Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #4A3B31; /* Dark Brown for text */
    background-color: #FFF8DC; /* Creamy Off-White */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* In style.css - if not already defined from checkout honeypot */
.hp-field {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

h1, h2, h3 {
    font-family: 'Nunito', sans-serif; /* Or 'Lobster' for a more distinct feel on main headings */
    font-weight: 800;
    margin-bottom: 1rem;
    color: #D2691E; /* A darker, chocolaty orange/brown */
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}
h1 .highlight {
    font-family: 'Lobster', cursive;
    color: #FF6347; /* Tomato / Fiery Red */
    font-size: 3.2rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem; /* For when nav links to it */
}

h3 {
    font-size: 1.5rem;
    color: #FF8C00; /* Mango Orange */
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: #FF8C00; /* Mango Orange */
}

/* --- Cookie Consent Banner --- */
#cookieConsentBanner {
    position: fixed; /* Sticks to the viewport */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Dark background */
    color: #fff; /* Light text */
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1001; /* Ensure it's above other content, but below modals if any */
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-banner-content {
    max-width: 900px; /* Or your main container width */
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Stack text and button on small screens */
    align-items: center;
    gap: 10px;
}

#cookieConsentBanner p {
    margin: 0; /* Reset paragraph margin inside banner */
    flex-grow: 1;
}

#cookieConsentBanner a {
    color: #FFD700; /* Gold, or your link color */
    text-decoration: underline;
}

#cookieConsentBanner .btn-primary {
    padding: 8px 15px;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevent button text from wrapping */
}

/* Media query for wider screens to put text and button side-by-side */
@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row; /* Side-by-side */
        justify-content: space-between;
    }
    #cookieConsentBanner p {
        text-align: left;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.diagonal-background-section {
    background-color: #FFF8DC; /* Base fallback */
    background-image:
        linear-gradient(45deg, rgba(255, 100, 71, 0.5) 25%, transparent 25%, transparent 75%, rgba(255, 100, 71, 0.5) 75%, rgba(255, 100, 71, 0.5)),
        linear-gradient(-45deg, rgba(255, 140, 0, 0.5) 25%, transparent 25%, transparent 75%, rgba(255, 140, 0, 0.5) 75%, rgba(255, 140, 0, 0.5));
    background-size: 60px 60px;
    background-attachment: scroll; /* Scrolls with the section content */
	padding: 60px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: #FF6347; /* Fiery Red */
    color: #fff;
}

.btn-primary:hover {
    background-color: #E55039; /* Darker Fiery Red */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #F39C12; /* A nice light orange */
    color: #fff;
}
.btn-secondary:hover {
    background-color: #E67E22; /* A slightly darker orange for hover */
    transform: translateY(-2px);
}

.order-product-image {
    max-width: 150px;
    margin: 0 auto 15px auto;
    display: block;
    border-radius: 10px;
}
.product-image-cart {
    max-width: 60px;
    height: auto;
    border-radius: 8px;
    margin-right: 10px;
}

/* 1. Navigation Bar */
#navbar {
    background-color: #FF8C00; /* Mango Orange */
    color: #fff;
    padding: 10px 0;
    width: 100%;
    z-index: 1000;
    transition: padding 0.3s ease-in-out;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}
.logo-text {
    font-family: 'Lobster', cursive;
    font-size: 2rem;
    color: #fff;
}

#navbar nav ul {
    list-style: none;
    display: flex;
}

#navbar nav ul li {
    margin-left: 25px;
}

#navbar nav ul li a {
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
}

#navbar nav ul li a:hover {
    color: #FFF8DC; /* Creamy Off-White for hover */
}

/* Sticky Nav Styling */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 5px 0;
}


/* 2. Hero Section */
#hero {
    background-color: #FFF0E1; /* Lighter Cream/Peach */
    min-height: calc(100vh - 70px); /* Adjust 70px if navbar height changes */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Account for navbar */
    padding-bottom: 40px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 55%;
}

.hero-text h2 {
    font-size: 1.4rem;
    color: #4A3B31;
    font-weight: normal;
    text-align: left;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    max-width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.15));
}


/* 3. The Flavor Experience */
#flavor {
    background-color: #FFF8DC; /* Creamy Off-White */
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
}

.flavor-points {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.flavor-point {
    flex-basis: calc(33.333% - 20px);
    min-width: 280px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.flavor-point .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px auto;
}

.versatility-note {
    text-align: center;
    font-style: italic;
    font-size: 1.4rem;
    color: #4A3B31;
    background-color: #FFDAB9;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 10px;
    display: block;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 4. Why Mama Ho's? (Brand Story) */
#story {
    padding: 60px 0; /* This adds 60px of padding to the top and bottom */
}

.bg-light {
    background-color: #FAF0E6; /* Linen / Very light warm beige */
}

#story p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ================================================================ */
/* === 5. Order Section (NEW Product Grid Styles) === */
/* ================================================================ */

#order {
    padding: 60px 0;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Space between product items */
    justify-content: center; /* Center items if they don't fill the row */
    margin-top: 30px;
}

.product-item { /* Each product's container */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    padding: 25px;
    width: 100%; /* Default for mobile (stacked) */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* For larger screens, make product items appear side-by-side */
@media (min-width: 600px) { /* For two items per row */
    .product-item {
        width: calc(50% - 15px); /* (50% - half of the 'gap' value) */
        max-width: 380px;
    }
}

@media (min-width: 992px) { /* For three items per row */
    .product-item {
        width: calc(33.333% - 20px);
        max-width: 350px;
    }
}

.product-item .order-product-image {
    max-width: 180px;
    margin: 0 auto 20px auto;
}

.product-item h3 { /* Product Name */
    font-size: 1.6rem;
    color: #D2691E;
    margin-top: 0;
    margin-bottom: 10px;
    min-height: 2.8em;
}

.product-item .product-description-order {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 5em;
    flex-grow: 1; /* Allows description to take up space, pushing button down */
}

.product-item .product-price {
    font-size: 1.9rem;
    font-weight: bold;
    color: #FF6347;
    margin-bottom: 20px;
}

.product-item .product-order-form .form-group { /* Styles for the quantity input group */
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-item .product-order-form .form-group label {
    margin-bottom: 8px;
    font-weight: bold;
}
.product-item .product-order-form .form-group input[type="number"] {
    width: 80px;
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.product-item .btn-order { /* Add to cart button */
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-top: auto; /* Pushes button to the bottom */
}


/* 6. Footer */
footer {
    background-color: #4A3B31; /* Dark Brown */
    color: #FFF8DC; /* Creamy Off-White */
    text-align: center;
    padding: 30px 0;
}

footer a {
    color: #FFD700; /* Gold */
}
footer a:hover {
    color: #FF8C00; /* Mango Orange */
}

.social-links {
    margin-bottom: 1rem;
}

.social-links img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    display: inline-block;
    filter: invert(90%) sepia(30%) saturate(600%) hue-rotate(320deg) brightness(105%) contrast(100%); /* Creamy color for icons */
}
.social-links img:hover {
    filter: invert(70%) sepia(60%) saturate(900%) hue-rotate(350deg) brightness(100%) contrast(100%); /* Mango orange for hover */
}

/* ================================================================ */
/* === 7. Cart Page Footer Layout (Single Column) === */
/* ================================================================ */

.empty-cart-message {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cart-footer-grid {
    margin-top: 30px;
    border-top: 2px solid #f0f0f0;
    padding-top: 30px;
    margin-bottom: 30px;
}

.cart-actions-and-discount {
    max-width: 450px; /* Constrain the box to a neat width */
    margin-bottom: 30px; /* Add space between this box and the summary below */
}

.cart-actions {
    margin-bottom: 25px;
}

.cart-summary {
    max-width: 450px; /* Match the width of the box above */
    /* All other .cart-summary styles for text, etc., are already correct */
}


/* Basic Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h1 .highlight {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }

    #navbar .container {
        flex-direction: column;
        align-items: center;
    }
    #navbar nav ul {
        margin-top: 10px;
        padding-left: 0; /* Reset padding for centered list items */
    }
    #navbar nav ul li {
        margin: 0 10px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
        order: 2; /* Text below image on mobile */
    }
    .hero-text h2, .hero-text p {
        text-align: center;
    }
    .hero-image {
        max-width: 70%;
        margin-bottom: 20px;
        order: 1; /* Image above text */
    }
    .hero-image img {
        max-height: 400px;
    }


    .flavor-points {
        flex-direction: column;
        align-items: center;
    }
    .flavor-point {
        flex-basis: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
    #navbar nav ul li {
        margin: 0 8px;
    }
    #navbar nav ul li a {
        font-size: 0.9rem;
    }

    .hero-image img {
        max-height: 300px;
    }
}

/* ================================================================ */
/* === Cart Page Layout (Desktop) === */
/* ================================================================ */

.cart-summary {
    flex-basis: 400px; /* Sets a default size */
    flex-grow: 0;      /* Prevents the element from growing */
}

/* ================================================================ */
/* === Responsive Styles for Cart Page === */
/* ================================================================ */

/* Target screens smaller than 768px (tablets and phones) */
@media screen and (max-width: 768px) {
    
    /* Hide the original table header */
    .cart-table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    
    /* Make each table row look like a card */
    .cart-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    /* Make table cells stack vertically */
    .cart-table td {
        display: block;
        text-align: right; /* Align content to the right */
        font-size: 1rem;
        border-bottom: 1px dotted #ccc;
        position: relative;
        padding-left: 50%; /* Make room for the label */
    }
    
    .cart-table td:last-child {
        border-bottom: 0;
    }
    
    /* Use the data-label attribute to create a label for each cell */
    .cart-table td::before {
        content: attr(data-label); /* This is the magic part */
        position: absolute;
        left: 10px;
        width: calc(50% - 20px);
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    /* Adjust specific cells for mobile */
    .cart-table td.product-name-cell {
        padding: 10px; /* Reset padding for the main product cell */
        text-align: left; /* Align this cell left */
        border-bottom: 2px solid #eee; /* Thicker border below product name */
    }

    .cart-table td.product-name-cell::before {
        display: none; /* No need to show "Product:" label here */
    }

    .cart-table td.center-text {
        text-align: right; /* Override center-text to right-align all values */
    }

    .quantity-form {
        display: flex;
        justify-content: flex-end; /* Align form content to the right */
        align-items: center;

    }

}

/* ================================================================ */
/* === Final Responsive Fixes for Cart Page === */
/* ================================================================ */

/* Style for the discount form container */
.discount-code-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Style for the quantity form in the table */
.quantity-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


/* Target screens smaller than 768px (tablets and phones) */
@media screen and (max-width: 768px) {
    
    /* Make the quantity form stack vertically */
    .quantity-form {
        flex-direction: column;
        align-items: stretch; /* Make items take full width of the cell */
    }

    .quantity-form input[type="number"] {
        width: 100%; /* Full width input */
    }

    .quantity-form .btn-update {
        width: 100%;
        margin-left: 0; /* Reset margin */
    }

    /* Make the discount form stack vertically */
    .discount-code-form {
        flex-direction: column;
        align-items: stretch; /* Make items take full width */
    }
    
    .discount-code-form label {
        text-align: center;
        margin-bottom: 5px;
    }

    /* Make the main action buttons stack nicely */
    .cart-actions {
        display: flex;
        flex-direction: column; /* Stack the buttons vertically */
        gap: 10px;              /* Add space between them */
        align-items: stretch;   /* Make them the same width */
    }

    .cart-actions .btn {
        width: 100%;
        margin-left: 0 !important; /* Override any inline styles */
    }

    /* 2. Fix the Order Summary Alignment */
    .cart-summary h3 {
        text-align: center; /* Center the "Order Summary" title on mobile */
    }
    .cart-summary p {
        display: block;      /* Stop using flexbox for each line */
        text-align: right;   /* Align all text to the right */
        padding: 5px 0;
    }

    .cart-summary p span:first-child {
        float: left;        /* Move the label (e.g., "Subtotal") to the left */
        color: #555;        /* Make the label text a bit lighter */
    }
    
    .cart-summary .grand-total span {
        font-weight: bold; /* Make sure total labels are still bold */
        color: #333;
    }
}

/* ================================================================ */
/* === Styles for AJAX Toast Notification === */
/* ================================================================ */
#toast-notification {
    position: fixed;
    top: 90px; /* Position below the sticky nav */
    right: 20px;
    background-color: #28a745; /* Green for success */
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1002; /* Above other content */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

#toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ================================================================ */
/* === Styles for Admin Dashboard === */
/* ================================================================ */

/* --- Login Form --- */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}
.login-container h2 {
    margin-bottom: 20px;
}
.login-container input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.login-error {
    color: #dc3545;
    margin-top: 15px;
    font-weight: bold;
}

/* --- Orders Table --- */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.dashboard-table th, .dashboard-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}
.dashboard-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.dashboard-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.dashboard-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Responsive adjustments for the dashboard table */
@media screen and (max-width: 768px) {
    .dashboard-table thead {
        display: none;
    }
    .dashboard-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
    }
    .dashboard-table td {
        display: block;
        text-align: right;
        position: relative;
        padding-left: 50%;
        border-bottom: 1px dotted #ccc;
    }
    .dashboard-table td::before {
        content: attr(data-label); /* Requires data-label attributes in HTML */
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-align: left;
    }
}

/* ================================================================ */
/* === Dashboard Page Enhancements === */
/* ================================================================ */

/* This makes the new product summary table narrower and centered */
.product-summary-table {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* This adds more vertical space between rows in BOTH tables for readability */
.dashboard-table th, .dashboard-table td {
    padding: 16px 15px; /* Increased vertical padding from 12px to 16px */
}

/* This adds more vertical space between order "cards" on mobile */
@media screen and (max-width: 768px) {
    .dashboard-table tr {
        margin-bottom: 25px; /* Increased from 20px */
    }
}

/* ================================================================ */
/* === Dashboard Enhancements: Stats Boxes & Order Details === */
/* ================================================================ */

/* --- Styles for the "At-a-Glance" Stats Grid --- */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.stat-box {
    flex: 1; /* Allows boxes to grow equally */
    min-width: 200px; /* Minimum width before wrapping */
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 4px solid #FF8C00; /* Mango Orange accent */
}

.stat-box h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #6c757d;
    text-transform: uppercase;
}

.stat-box p {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: #4A3B31;
}

/* --- Styles for the new Order Details page --- */
.order-details-container {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
    margin-bottom: 40px;
}

.order-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.customer-info, .shipping-address {
    flex: 1;
    min-width: 250px;
}

.customer-info p, .shipping-address p {
    margin: 0 0 8px 0;
}

.customer-info strong, .shipping-address strong {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 0.9em;
    text-transform: uppercase;
}

.financial-summary {
    max-width: 400px;
    margin-left: auto; /* Aligns to the right */
    text-align: right;
    font-size: 1.1em;
}
.financial-summary p {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
}
.financial-summary p.grand-total {
    font-size: 1.3em;
    font-weight: bold;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

/* ================================================================ */
/* === Styles for Hero CTA and Signup Section === */
/* ================================================================ */

/* Container for the two buttons in the hero section */
.hero-buttons {
    display: flex;
    flex-wrap: wrap; /* Allows buttons to stack on mobile */
    gap: 15px; /* Space between the buttons */
    margin-top: 2rem;
}

/* On mobile, center the hero buttons */
@media screen and (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

/* This defines the look of the new section on the page */
#signup-section {
    padding: 60px 0;
    background-color: #FAF0E6; /* Light linen background */
}

/* This styles the white box inside the signup section */
#signup-section .newsletter-signup {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

#signup-section .newsletter-signup h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    font-weight: normal;
    color: #D2691E;
    margin-top: 0;
}

#signup-section .newsletter-signup p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* This styles the email input form itself */
.newsletter-form {
    display: flex;
    flex-wrap: wrap; /* Allow stacking on very small screens */
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex-grow: 1; /* Allows input to take available space */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form .btn {
    flex-shrink: 0; /* Prevents button from shrinking */
}

/* ================================================================ */
/* === Styles for Form Feedback Messages === */
/* ================================================================ */

.form-feedback {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid transparent;
    font-weight: bold;
}

.form-feedback.success {
    background-color: #d4edda; /* Light green */
    color: #155724;           /* Dark green text */
    border-color: #c3e6cb;
}

.form-feedback.error {
    background-color: #f8d7da; /* Light red */
    color: #721c24;           /* Dark red text */
    border-color: #f5c6cb;
}

/* ================================================================ */
/* === Styles for Full-Width Flourish Divider (Corrected) === */
/* ================================================================ */

/* This styles the container for our new decorative line */
.section-divider {
    /* This makes the divider match the signup section below it */
    background-color: #FAF0E6; 
    text-align: center;
    /* This padding creates the space above and below the line */
    padding: 40px 0; 
}

/* This styles the SVG line itself */
.section-divider svg {
    width: 100%;
    max-width: 1200px; /* Prevents it from looking too stretched on huge screens */
    height: 25px; 
}

/* ================================================================ */
/* === Dashboard Discount Code Table Style === */
/* ================================================================ */

.discount-codes-table {
    max-width: 800px; /* Give it a slightly wider max-width */
    margin-left: auto;
    margin-right: auto;
}

#dashboard-page {
    padding-bottom: 60px; /* Adds space before the footer */
}

/* ================================================================ */
/* === Dashboard Newsletter Subscribers Table Style === */
/* ================================================================ */

.subscribers-table {
    max-width: 600px; /* A good width for a single column of emails */
    margin-left: auto;
    margin-right: auto;
}