:root {
    --primary: #000000;
    --text-dark: #111111;
    --text-light: #666666;
    --border: #E5E5E5;
    --bg-light: #F9F9F9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: white; /* Or light grey based on image? Let's stick to white for cleaner look */
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    /* border-bottom: 1px solid var(--border); remove border for cleaner look */
    z-index: 1000;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-light);
}

.search-bar-sm {
    display: none; /* Hide top search bar in this redesign as per image */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    padding: 10px;
    border-radius: 20px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px 5px 12px;
    border: 1px solid var(--border);
    border-radius: 21px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none; /* Add text-decoration none here in case it's an <a> */
    color: inherit;
}

.user-menu:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.08); /* Lighter shadow */
}

/* New User Menu Styles extracted from inline attributes */
.user-menu-name {
    font-size: 14px;
    font-weight: 500;
    margin-right: 4px;
    padding-left: 8px;
}

.user-menu-avatar.customer-avatar {
    background: #000;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu-avatar.user-avatar {
    background: #333;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu-initial {
    font-size: 12px;
    font-weight: 600;
}

/* Main Content */
main {
    padding-top: 64px;
    min-height: 100vh;
}

/* Alerts */
.alert-messages {
    position: fixed;
    top: 80px;
    right: 40px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert {
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    animation: slideIn 0.3s ease-out;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.alert-close-btn {
    background: none;
    border: none;
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
    color: inherit;
    opacity: 0.6;
}

.alert-close-btn:hover {
    opacity: 1;
}

/* Footer (Extracted from inline styles) */
.site-footer {
    background: #F9F9F9;
    padding: 60px 40px 40px;
    border-top: 1px solid #E5E5E5;
    margin-top: 100px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-brand .footer-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    max-width: 250px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
}

.footer-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.footer-link:hover {
    color: #111;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #999;
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: #999;
}

.footer-socials a:hover {
    color: #666;
}
