/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

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

header {
    background-color: #8b5a2b;
    color: white;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

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

header .logo {
    width: 50px; /* Adjust the size as needed */
    margin-right: 10px;
}

nav a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ddd;
}

#hobby-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#user-credits-container {
    background-color: #fff;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: 20px;
    text-align: right;
    display: inline-block;
}

main {
    padding: 15px;
    max-width: 1200px;
    margin: auto;
}

#user-view, #supplier-view {
    margin-top: 15px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#add-hobby-form {
    margin-top: 15px;
}

.notification {
    background-color: #8b5a2b;
    color: white;
    padding: 10px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

button {
    margin-left: 8px;
    background-color: #8b5a2b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #a0522d;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

label {
    display: inline-block;
    width: 130px;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"], textarea {
    width: calc(100% - 150px);
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, textarea:focus {
    border-color: #8b5a2b;
    outline: none;
}

ul {
    padding: 0;
    list-style: none;
}

ul#wishlist li, ul#hobby-list li, ul#trending-hobby-list li, ul#tailored-suggestions-list li, ul#hidden-gems-list li, ul#upcoming-classes-list li, ul#interests-list li {
    margin-bottom: 8px;
    padding: 8px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

ul#wishlist li:hover, ul#hobby-list li:hover, ul#trending-hobby-list li:hover, ul#tailored-suggestions-list li:hover, ul#hidden-gems-list li:hover, ul#upcoming-classes-list li:hover, ul#interests-list li:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

ul#wishlist li button, ul#upcoming-classes-list li button, ul#interests-list li button {
    margin-left: 10px;
    margin-right: 5px;
    margin-top: 5px;
}

a {
    color: #8b5a2b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a0522d;
}

#autocomplete-list {
    border: 1px solid #ddd;
    max-height: 150px;
    overflow-y: auto;
    background-color: white;
    position: absolute;
    z-index: 1000;
    width: calc(100% - 20px);
    margin-top: 5px;
    padding: 0;
    list-style: none;
}

#autocomplete-list li {
    padding: 8px;
    cursor: pointer;
}

#autocomplete-list li:hover {
    background-color: #f0f0f0;
}

.dropdown-button {
    width: 100%;
    text-align: left;
    background-color: #8b5a2b;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropdown-button:hover {
    background-color: #a0522d;
}

.dropdown-content {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.dropdown-content li {
    padding: 10px;
    background-color: white;
    border-bottom: 1px solid #ddd;
}

.dropdown-content li:hover {
    background-color: #f0f0f0;
}

.dropdown-content li:last-child {
    border-bottom: none;
}
