.center-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.settings-container {
    width: 100%;
    max-width: 660px;
    position: relative;
}

.settings-view { display: none; width: 100%; }
.settings-view.active { display: block; animation: fadeIn 0.35s ease-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.settings-container .section-title {
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 24px;
}

.profile-settings-card {
    background-color: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 24px;
    padding: 45px 50px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.avatar-upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
}

.avatar-preview-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

#userAvatarPreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-hover-mask {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.avatar-hover-mask i { font-size: 22px; margin-bottom: 6px; }
.avatar-hover-mask span { font-size: 13px; }
.avatar-preview-wrapper:hover .avatar-hover-mask { opacity: 1; }
.upload-tip { font-size: 13px; color: #999999; margin-top: 14px; }

.form-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.form-item.hidden { display: none; }

.form-label {
    font-size: 15px;
    font-weight: 600;
    color: #555555;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: #aaaaaa;
    font-size: 18px;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 48px;
    font-size: 15px;
    color: #333333;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    border-color: #3b71fe;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 113, 254, 0.08);
}

.readonly-wrapper { cursor: pointer; }
.readonly-wrapper input { cursor: pointer; padding-right: 100px; }
.readonly-wrapper:hover input { border-color: #3b71fe; background-color: #ffffff; }

.action-link-text {
    position: absolute;
    right: 18px;
    font-size: 13px;
    color: #3b71fe;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verify-hint-box {
    display: flex;
    gap: 14px;
    background-color: #f0f4ff;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}
.verify-hint-box i { color: #3b71fe; font-size: 20px; margin-top: 2px; }
.verify-hint-box p { font-size: 14px; color: #4f5e84; line-height: 1.6; }

.code-container input { padding-right: 130px; }

.btn-send-code {
    position: absolute;
    right: 10px;
    background-color: #ffffff;
    color: #3b71fe;
    border: 1px solid #3b71fe;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-send-code:hover { background-color: #3b71fe; color: #ffffff; }
.btn-send-code:disabled { border-color: #d1d5db; color: #9ca3af; background-color: #f3f4f6; cursor: not-allowed; }

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 35px;
}

.btn-cancel {
    background-color: #f1f3f4;
    color: #555555;
    border: none;
    padding: 13px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.btn-cancel:hover { background-color: #e4e7e9; }

.btn-save {
    background-color: #3b71fe;
    color: #ffffff;
    border: none;
    padding: 13px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.btn-save:hover { background-color: #2659e4; }