body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #d9ead3; /* Light green background */
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

header .logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #38761d; /* Dark green text */
}

header .logo img {
    height: 40px;
    margin-right: 10px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #28a745; /* Green on hover */
}

header nav ul li a.signup-button {
    background-color: #28a745; /* Green button */
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header nav ul li a.signup-button:hover {
    background-color: #218838; /* Darker green on hover */
}

.hero {
    background-color: #e9f0e9; /* Lighter green background */
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    color: #38761d; /* Dark green */
    font-size: 3em;
    margin-bottom: 10px;
}

.hero .subtitle {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}

.hero-buttons a {
    display: inline-block;
    padding: 10px 25px;
    margin: 0 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: #ff8c66; /* Orange-ish */
    color: white;
}

.hero-buttons .btn-primary:hover {
    background-color: #ff7047; /* Darker orange-ish */
}

.hero-buttons .btn-secondary {
    background-color: #ccc; /* Grey */
    color: #333;
}

.hero-buttons .btn-secondary:hover {
    background-color: #bbb; /* Darker grey */
}

.features {
    padding: 60px 0;
    text-align: center;
}

.features h2 {
    color: #38761d; /* Dark green */
    font-size: 2em;
    margin-bottom: 40px;
}

.feature-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 300px;
    text-align: left;
    display: flex;
    flex-direction: column;\n    align-items: flex-start;\n
}

.feature-card img {
    height: 50px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #38761d; /* Dark green */
    margin-top: 0;
    margin-bottom: 10px;
}

.feature-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: #555;
}

.feature-card .explore-link {
    color: #ff8c66; /* Orange-ish */
    text-decoration: none;
    font-weight: bold;
}

.feature-card .explore-link i {
    margin-left: 5px;
}

.cta {
    background-color: #e9f0e9; /* Lighter green */
    padding: 60px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
}

.cta-text {
    max-width: 500px;
}

.cta-text .plan-smarter {
    color: #ff8c66; /* Orange-ish */
    font-weight: bold;
    margin-bottom: 10px;
}

.cta-text h2 {
    color: #38761d; /* Dark green */
    font-size: 2em;
    margin-bottom: 15px;
}

.cta-text p {
    color: #555;
    margin-bottom: 20px;
}

.cta-text .btn-primary {
     display: inline-block;
    background-color: #ff8c66; /* Orange-ish */
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-text .btn-primary:hover {
    background-color: #ff7047; /* Darker orange-ish */
}

footer {
    background-color: #d9ead3; /* Light green */
    color: #555;
    padding: 30px 0;
    font-size: 0.9em;
}

footer .container {
 display: flex;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-left .logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #38761d; /* Dark green */
    margin-bottom: 10px;
}

.footer-left .logo img {
    height: 30px;
    margin-right: 10px;
}

.footer-right h4 {
    color: #38761d; /* Dark green */
    margin-top: 0;
    margin-bottom: 10px;
}

/* Existing styles (keep these) */

.dashboard-header {
    justify-content: space-between;\n    align-items: center;
    width: 100%;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    position: relative;
    box-sizing: border-box;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-center {
    flex-grow: 1;
    text-align: center;
    padding: 0 10px;
}

.header-center p {
    margin: 0 0 5px 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.small-logo, .wanderlust-logo {
    max-height: 40px;
}

.social-icons a {
    color: #555;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 5px;
}

.social-icons a:hover {
    color: #007bff;
}

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

.profile-dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.profile-dropbtn:hover {
    background-color: #f0f0f0;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-content {
    display: none;
    position: absolute;
    width: auto;
    max-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
 background-color: #f9f9f9;
}

.dropdown-content p {
    margin: 5px 0;
}

.profile-dropdown:hover .dropdown-content p {
    background-color: white;
    color: black;
    margin: 5px 0;
}

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

}

@media (max-width: 768px) {
    .main-content {
        width: 100%;
        grid-column: auto; /* Remove grid-column for single column layout */
    }
    .right-column-banners {
        width: 100%;
        grid-column: auto; /* Remove grid-column for single column layout */
    }
    #welcomeMessage {
        font-size: 1.2em; /* Adjust as needed */
    }
    .dashboard-main {
        display: block;
        padding: 10px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .dashboard-header {
        position: sticky;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .dashboard-header {
        position: relative;
    }
}

.dashboard-main {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    gap: 20px;
    align-items: start;
}

.main-content {
    grid-column: 2;
}

.right-column-banners {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.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.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.tier-options {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tier-option {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 30%;
    min-width: 250px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tier-option h3 {
    color: #0056b3;
}

.price {
    font-size: 1.5em;
    font-weight: bold;
    margin: 10px 0;
}

.stripe-btn {
    background-color: #6772e5;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: auto;
    margin-top: 15px;
}

.stripe-btn:hover {
    background-color: #5469d4;
}

/* General button styles */
button {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px 0;
    width: 100%;
}

button:hover {
    background-color: #218838;
}

/* Login/Signup specific styles */
.login-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 90%; /* Adjusted for smaller screens */
    max-width: 400px;
    text-align: center;
    margin: 20px auto;
}

.password-container {
    position: relative;
    width: calc(100% - 20px);
    margin: 0 auto 15px auto;
}

.password-container input {
    width: calc(100% - 45px); /* Adjust width to accommodate toggle icon */
    padding-right: 45px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%; /* Make input fields full width */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.divider-text {
    margin: 15px 0;
    font-size: 14px;
    color: #777;
}

.google-button {
    background-color: #fff;
    color: #757575;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: 100%;
    box-sizing: border-box;
}

.google-button:hover {
    background-color: #f5f5f5;
}

.google-button img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.signup-link {
    margin-top: 20px;
    font-size: 14px;
}

.signup-link a {
    color: #0056b3;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

/* Feature card styles */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;\n    align-items: flex-start;\n
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-card h3 {
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 15px;
}

.feature-card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.feature-card button {
    background-color: #28a745;
    width: auto;
    padding: 10px 20px;
    align-self: flex-start;\n
}

.feature-card button:hover {
    background-color: #218838;
}

/* Editable list/journal names */
.list-name-edit-container, .journal-entry h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.editable-list-name {
    font-size: 1.5em;
    font-weight: bold;
    border: 1px solid transparent;
    padding: 5px;
    border-radius: 4px;
    flex-grow: 1;
    background-color: transparent;
    color: #333;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.editable-list-name:focus, .editable-journal-title:focus {
    border: 1px solid #0056b3;
    background-color: #f0f8ff;
    outline: none;
}

.editable-list-name[disabled] {
    background-color: transparent;
    cursor: default;
}

.small-edit-btn {
    background: none;
    border: none;
    color: #0056b3;
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px;
    width: auto;
}

.small-edit-btn:hover {
    color: #003f80;
    background: none;
}

/* Journal entry actions */
.journal-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.journal-actions button {
    width: auto;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 4px;
}

.edit-journal-btn {
    background-color: #007bff;
}

.edit-journal-btn:hover {
    background-color: #0056b3;
}

.delete-journal-btn {
    background-color: #dc3545;
}

.delete-journal-btn:hover {
    background-color: #c82333;
}

.disclaimer-container {
    text-align: left;
    font-size: 12px;
    color: #555;
    margin: 20px auto;
    max-width: 400px;
}

.tier-features {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tier-feature-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 30%;
    min-width: 250px;
    margin: 10px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tier-feature-card h3 {
    color: #0056b3;
    text-align: center;
}

.tier-feature-card ul {
    list-style: none;
    padding: 0;
}

.tier-feature-card li {
    margin-bottom: 5px;
}