:root { --primary-color: #4361ee; --secondary-color: #3f37c9; --accent-color: #4895ef; --light-color: #f8f9fa; --dark-color: #212529; --success-color: #4cc9f0; --danger-color: #e5383b; --warning-color: #ffba08; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background-color: #f5f7fa; color: var(--dark-color); min-height: 100vh; display: flex; flex-direction: column; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } header { background-color: white; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 1rem 0; } nav { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); cursor: pointer; } .nav-links { display: flex; gap: 20px; } .nav-links a { text-decoration: none; color: var(--dark-color); font-weight: 500; transition: color 0.3s; } .nav-links a:hover { color: var(--primary-color); } .btn { display: inline-block; padding: 0.6rem 1.5rem; background-color: var(--primary-color); color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; font-weight: 500; transition: all 0.3s ease; text-decoration: none; } .btn:hover { background-color: var(--secondary-color); transform: translateY(-2px); } .btn-outline { background-color: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); } .btn-outline:hover { background-color: var(--primary-color); color: white; } .btn-danger { background-color: var(--danger-color); } .btn-danger:hover { background-color: #c1121f; } .auth-section { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 0; } .auth-container { width: 100%; max-width: 450px; background-color: white; padding: 2.5rem; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .auth-title { font-size: 1.75rem; font-weight: 600; color: var(--primary-color); margin-bottom: 1.5rem; text-align: center; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; } .form-control { width: 100%; padding: 0.8rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; transition: border-color 0.3s; } .form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1); } .form-footer { text-align: center; margin-top: 1.5rem; } .form-footer a { color: var(--primary-color); text-decoration: none; } .form-footer a:hover { text-decoration: underline; } .alert { padding: 0.75rem 1rem; margin-bottom: 1rem; border-radius: 4px; font-weight: 500; } .alert-danger { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } .alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } /* Profile Page Styles */ .profile-container { max-width: 800px; margin: 2rem auto; background-color: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); padding: 2rem; } .profile-header { display: flex; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #eee; } .profile-avatar { width: 80px; height: 80px; border-radius: 50%; background-color: var(--accent-color); color: white; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: bold; margin-right: 1.5rem; } .profile-title h1 { font-size: 1.75rem; margin-bottom: 0.25rem; color: var(--dark-color); } .profile-email { color: #6c757d; } .profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } .profile-actions { margin-top: 2rem; display: flex; justify-content: flex-end; gap: 1rem; } footer { background-color: white; padding: 1.5rem 0; border-top: 1px solid #eee; margin-top: auto; } footer p { text-align: center; color: #6c757d; } .loading { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; justify-content: center; z-index: 1000; } .loading-spinner { width: 50px; height: 50px; border: 5px solid #f3f3f3; border-top: 5px solid var(--primary-color); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @media (max-width: 768px) { .profile-form { grid-template-columns: 1fr; } .auth-container { padding: 1.5rem; } }