/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and overall color theme */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5dc; /* Light beige background */
    color: #4d4d33; /* Dark greenish-gray text */
    display: flex;
    flex-direction: column; /* Align items vertically instead of centering everything */
    align-items: center;
    min-height: 100vh;
    padding-top: 60px; /* Space for the fixed navbar */
    padding: 20px;
}

/* Adjust container positioning to avoid overlap with navbar */
.container {
    max-width: 500px;
    margin-top: 60px;
    background-color: #ffffff;
    padding: 20px;
    padding-top: 60px; /* Adjust to the height of the navbar */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Title */
h2 {
    color: #336633; /* Greenish header color */
    margin-bottom: 20px;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Labels */
label {
    font-weight: bold;
    color: #4d4d33;
    margin-bottom: 5px;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 10px;
    border: 1px solid #ccccb3;
    border-radius: 4px;
    font-size: 16px;
}

/* Button styling */
button {
    padding: 10px;
    background-color: #99cc99; /* Light green button */
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #66a366; /* Darker green on hover */
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    input,
    button {
        font-size: 1rem;
    }
}

/* Remove hover effects on mobile */
.back-link {
    display: inline-block;
    color: #336633;
    background-color: #f5f5dc;
    padding: 8px 16px;
    border: 1px solid #ccccb3;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.back-link:active {
    background-color: #e6e6cc;
}

/* Button styling without hover */
button {
    padding: 10px;
    background-color: #99cc99;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:active {
    background-color: #66a366;
}

/* Error message styling */
.error {
    color: #4d0000 !important; /* Darker red text for readability */
    background-color: #ffe6e6; /* Light red background */
    border: 1px solid #cc0000; /* Red border */
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.success {
    color: #004d00 !important;           /* Dark green text for success */
    background-color: #e6ffe6; /* Light green background */
    border: 1px solid #00cc00; /* Green border */
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}


/* Action link styling */
.action-link {
    color: #336633; /* Matches your theme color */
    background-color: #f5f5dc; /* Matches page background */
    padding: 8px 16px;
    border: 1px solid #ccccb3;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s;
}

.action-link:hover {
    background-color: #e6e6cc;
}

/* Disabled button styling */
.disabled-button {
    padding: 10px;
    background-color: #cccccc; /* Light gray for disabled state */
    color: #666666;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: not-allowed;
}


/* Note styling */
.note {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

/* Option styling with a welcoming feel */
.option {
    background-color: #fafafa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Option title with a friendly color */
.option-title {
    font-size: 1.3rem;
    color: #2e7d32;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Description with a conversational tone */
.option-description {
    font-size: 1rem;
    color: #4d4d33;
    margin-bottom: 15px;
}

/* User question block */
.user-question {
    font-style: italic;
    color: #4d4d33;
    margin: 10px 0;
    padding: 10px;
    background-color: #f0f0f0;
    border-left: 4px solid #99cc99;
    border-radius: 4px;
    text-align: left;
}

.input-select, .input-textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    margin: 10px 0;
    border: 1px solid #ccccb3;
    border-radius: 4px;
}

.submit-button {
    padding: 10px 20px;
    font-size: 1.1rem;
    background-color: #99cc99;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #66a366;
}

/* Thank you message */
.thank-you {
    font-size: 1.1rem;
    font-weight: bold;
    color: #336633;
    margin-top: 20px;
}

/* Centered Delete Button Styling */
.delete-button {
    padding: 8px 16px; /* Adjusted padding for a smaller size */
    background-color: #ff6666; /* Red color for delete */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem; /* Slightly smaller font size */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 50%;
    margin: 0 auto; /* Centers the button horizontally */
    display: block; /* Ensures the margin auto works */
    text-align: center; /* Centers text within the button */
}

.delete-button:hover {
    background-color: #cc3333;
}

/* Inspiration Button Styling */
.inspiration-button {
    padding: 8px 16px;
    background-color: orange;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
    display: inline-block;
}

.inspiration-button:hover {
    background-color: darkorange;
}

/* Inspiration List Styling */
.inspiration-list {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual Inspiration Item Styling */
.inspiration-item {
    margin: 10px 0;
    padding: 10px 15px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #4d4d33;
    font-size: 0.95rem;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Navigation Bar */
.navbar {
    width: 100%;
    padding: 10px 20px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: space-between; /* Align items to far left and far right */
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed; /* Keep the navbar at the top */
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
}

/* Left navigation buttons container */
.nav-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Navigation Buttons */
.nav-button {
    text-decoration: none;
    padding: 8px 12px;
    background-color: #99cc99;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    font-size: 16px;
}

.nav-button.left {
    margin-right: auto; /* Aligns Dashboard button to the left */
}

.nav-button.right {
    margin-left: auto; /* Aligns Logout button to the right */
}

.nav-button:hover {
    background-color: #66a366;
}

.logout-button {
    background-color: #ff6666; /* Red for logout */
}

.logout-button:hover {
    background-color: #cc3333;
}