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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f9fafb;
    color: #374151;
}

/* Navbar Styles */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.navbar-brand h1 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
}

.navbar-menu {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #1f2937;
}

.navbar-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background-color: #ea580c;
    color: white;
}

.btn-primary:hover {
    background-color: #c2410c;
}

.btn-danger {
    background-color: #dc2626;
    color: white;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-nickname {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.user-level {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Main Content */
.main-content {
    padding: 2rem;
}

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

.container h2 {
    margin-bottom: 2rem;
    color: #1f2937;
}

/* User Profile */
.user-profile {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.user-profile h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.user-profile pre {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Loading */
.loading {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Error Message */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .user-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-content {
        padding: 1rem;
    }
}