/* Profile page styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

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

.profile-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin: 2rem 0 4rem;
}

.profile-sidebar {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #667eea;
    object-fit: cover;
}

.profile-info h2 {
    color: #333;
    margin-bottom: 0.5rem;
}

.user-status {
    color: #667eea;
    font-size: 0.9rem;
}

.profile-content {
    display: grid;
    gap: 2rem;
}

.profile-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-section h3 {
    color: #333;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.info-group {
    margin-bottom: 1rem;
    display: grid;
    gap: 0.5rem;
}

.info-group label {
    font-weight: 500;
    color: #555;
}

.info-group input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.info-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}

.btn-save {
    background: #667eea;
    color: white;
    margin-top: 1rem;
}

.btn-save:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 1rem;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.danger-zone {
    border-left: 4px solid #ff6b6b;
}

.danger-zone h3 {
    color: #ff6b6b;
    border-bottom-color: #ff6b6b;
}

.btn-danger {
    background: #ff6b6b;
    color: white;
    width: 100%;
}

.btn-danger:hover {
    background: #ee5a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

footer {
    background: #f5f5f5;
    text-align: center;
    padding: 2rem;
    color: #666;
    border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .profile-avatar {
        margin: 0;
    }

    .btn-secondary {
        text-align: center;
    }
}
