| .user-center { |
| max-width: 100%; |
| padding: 3%; |
| font-family: Arial, sans-serif; |
| display: flex; |
| gap: 10%; |
| background: #f8f3ef; |
| } |
| |
| .right-content { |
| flex: 3; |
| } |
| |
| .profile-header { |
| margin-top: -20%; |
| text-align: center; |
| } |
| |
| .avatar { |
| width: 100px; |
| height: 100px; |
| border-radius: 50%; |
| object-fit: cover; |
| } |
| |
| h1 { |
| font-size: 2em; |
| margin-top: 10px; |
| } |
| |
| .profile-details { |
| margin-top: 20%; |
| font-size: 1.2em; |
| } |
| |
| .profile-details p { |
| margin: 10px 0; |
| } |
| |
| .profile-details strong { |
| color: #333; |
| } |
| |
| .error { |
| color: red; |
| text-align: center; |
| } |
| |
| .common-card { |
| background-color: #fffaf7; |
| border-radius: 16px; |
| margin: 0 auto; |
| margin-top: 40px; |
| width: 80%; |
| padding-top: 10%; |
| padding-right: 10%; |
| padding-bottom: 10%; |
| padding-left: 10%; |
| margin-left: 3%; |
| margin-right: 5%; |
| |
| /* padding: 10% 20%; */ |
| } |
| |
| |
| .avatar-wrapper { |
| position: relative; |
| display: inline-block; |
| } |
| |
| .avatar-upload-label { |
| position: absolute; |
| bottom: 0; |
| right: 0; |
| background: #4b3325; |
| color: white; |
| padding: 4px 8px; |
| font-size: 12px; |
| cursor: pointer; |
| border-radius: 4px; |
| opacity: 0.85; |
| } |
| |
| .avatar-upload-label:hover { |
| opacity: 1; |
| } |
| |
| .right-content { |
| flex: 3; |
| } |
| |
| .profile-header { |
| margin-top: -20%; |
| text-align: center; |
| } |
| |
| .avatar { |
| width: 100px; |
| height: 100px; |
| border-radius: 50%; |
| object-fit: cover; |
| } |
| |
| h1 { |
| font-size: 2em; |
| margin-top: 10px; |
| } |
| |
| .profile-details { |
| margin-top: 20%; |
| font-size: 1.2em; |
| } |
| |
| .profile-details p { |
| margin: 10px 0; |
| } |
| |
| .profile-details strong { |
| color: #333; |
| } |
| |
| .error { |
| color: red; |
| text-align: center; |
| } |
| |
| |
| |
| .avatar-wrapper { |
| position: relative; |
| display: inline-block; |
| } |
| |
| .avatar-upload-label { |
| position: absolute; |
| bottom: 0; |
| right: 0; |
| background: #4b3325; |
| color: white; |
| padding: 4px 8px; |
| font-size: 12px; |
| cursor: pointer; |
| border-radius: 4px; |
| opacity: 0.85; |
| } |
| |
| .avatar-upload-label:hover { |
| opacity: 1; |
| } |
| |
| |
| .collection-list { |
| display: flex; |
| flex-direction: column; |
| gap: 20px; |
| } |
| |
| .collection-item { |
| cursor: pointer; |
| background-color: #f9f9f9; |
| padding: 16px; |
| border-radius: 12px; |
| transition: box-shadow 0.2s ease; |
| } |
| |
| .collection-item:hover { |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| } |
| |
| .collection-item h3 { |
| font-size: 1.2em; |
| margin-bottom: 8px; |
| color: #333; |
| } |
| |
| .collection-item .content-preview { |
| color: #555; |
| font-size: 0.95em; |
| margin-bottom: 6px; |
| } |
| |
| .collection-item .meta { |
| font-size: 0.8em; |
| color: #888; |
| } |
| |
| .error-text { |
| color: red; |
| font-weight: bold; |
| padding: 10px; |
| } |
| |
| .loading { |
| text-align: center; |
| font-size: 18px; |
| color: #333; |
| } |
| |
| .task-btn { |
| margin-right: 8px; |
| padding: 6px 12px; |
| border: none; |
| border-radius: 6px; |
| background-color: #4b3325; |
| color: white; |
| cursor: pointer; |
| } |
| |
| .task-btn:hover { |
| background-color: #bd7035; |
| } |
| |
| .task-btn-group { |
| margin-top: 10px; |
| display: flex; |
| flex-wrap: wrap; |
| gap: 8px; |
| } |
| |
| |
| .exp-bar-wrapper { |
| width: 100%; |
| height: 14px; |
| background-color: #fbfafa; |
| border-radius: 8px; |
| margin: 10px 0; |
| overflow: hidden; |
| } |
| |
| .exp-bar { |
| height: 100%; |
| background-color: #0eb813; |
| transition: width 0.3s ease; |
| } |
| |
| .exp-progress-text { |
| font-size: 0.9em; |
| color: #555; |
| margin-bottom: 10px; |
| } |
| |
| .profile-actions { |
| margin-top: 1em; |
| } |
| |
| .profile-actions button { |
| padding: 8px 16px; |
| background-color: #4b3325; |
| color: white; |
| border: none; |
| border-radius: 6px; |
| cursor: pointer; |
| } |
| |
| .user-modal { |
| position: fixed; |
| top: 0; |
| left: 0; |
| right: 0; |
| bottom: 0; |
| background-color: rgba(0, 0, 0, 0.4); |
| display: flex; |
| justify-content: center; |
| align-items: center; |
| z-index: 99; |
| } |
| |
| .user-modal-content { |
| background-color: white; |
| padding: 20px; |
| border-radius: 8px; |
| width: 300px; |
| } |
| |
| .user-modal-content input { |
| display: block; |
| width: 100%; |
| margin: 10px 0; |
| padding: 8px; |
| } |
| |
| .user-modal-buttons { |
| display: flex; |
| justify-content: space-between; |
| } |