/* Base styles */
html, body {
margin: 0;
padding: 0;
width: 100%;
overflow-x: hidden;
}
.app {
min-height: 100vh;
display: flex;
flex-direction: column;
width: 100%;
max-width: 100vw;
overflow-x: hidden;
}
:root {
--primary-color: #2196f3;
--primary-color-light: #e3f2fd;
}
/* Update navigation styles */
.navigation {
background: white;
padding: 1rem 4rem;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #eee;
height: 72px;
box-sizing: border-box;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
}
/* Add padding to content to account for fixed navigation */
.app > *:not(.navigation) {
margin-top: 72px;
}
.nav-brand {
font-size: 1.4rem;
font-weight: bold;
}
.nav-brand a {
color: #333;
text-decoration: none;
}
.nav-user {
position: relative;
}
.user-menu {
position: relative;
}
.user-button {
background: none;
border: none;
padding: 0.5rem 1rem;
font-size: 1rem;
color: #666;
cursor: pointer;
display: flex;
align-items: center;
gap: 0.5rem;
}
.arrow {
font-size: 0.8rem;
}
.dropdown-menu {
position: absolute;
top: 100%;
right: 0;
background: white;
border: 1px solid #eee;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
min-width: 150px;
display: none;
z-index: 100;
}
.user-menu:hover .dropdown-menu {
display: flex;
flex-direction: column;
}
.dropdown-menu a,
.dropdown-menu button {
padding: 0.75rem 1rem;
text-decoration: none;
color: #666;
border: none;
background: none;
text-align: left;
font-size: 0.9rem;
cursor: pointer;
transition: background 0.2s;
}
.dropdown-menu a:hover,
.dropdown-menu button:hover {
background: #f8f9fa;
}
.nav-auth {
display: flex;
gap: 1rem;
align-items: center;
}
.nav-auth a {
text-decoration: none;
color: #666;
font-size: 0.9rem;
}
.nav-auth .signup-btn {
background: var(--primary-color);
color: white;
padding: 0.5rem 1rem;
border-radius: 8px;
transition: opacity 0.2s;
}
.nav-auth .signup-btn:hover {
opacity: 0.9;
}
/* Add responsive padding for smaller screens */
@media (max-width: 768px) {
.navigation {
padding: 1rem 2rem;
}
}