* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 400px;
    margin: 100px auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.auth-card h1 {
    text-align: center;
    color: #667eea;
    margin-bottom: 10px;
    font-size: 28px;
}

.auth-card h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #2196F3;
    color: white;
    padding: 12px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #0b7dda;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.error-message {
    color: #e53e3e;
    background: #fff5f5;
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    border: 1px solid #feb2b2;
}

.success-message {
    color: #38a169;
    background: #f0fff4;
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    border: 1px solid #9ae6b4;
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container h1 {
    color: #667eea;
    font-size: 24px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-user span {
    font-weight: 500;
    color: #555;
}

.dashboard {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    width: 280px;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu {
    list-style: none;
}

.menu li {
    margin-bottom: 10px;
    display: block;
}

.menu li a {
    display: block;
    padding: 12px 16px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.menu li a:hover {
    background: #f7fafc;
    color: #667eea;
    transform: translateX(5px);
}

.content {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section h2 {
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.message.error {
    color: #e53e3e;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    display: block;
}

.message.success {
    color: #38a169;
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    display: block;
}

#userInfo {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

#userInfo h3 {
    color: #667eea;
    margin-bottom: 10px;
}

#userInfo p {
    color: #555;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .dashboard {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .auth-card {
        margin: 20px auto;
        padding: 20px;
    }
}

